nesemu/cpu/memory.h

15 lines
322 B
C

//
// Created by william on 10/15/23.
//
#include "../include/mapper.h"
#ifndef NESEMULATOR_MEMORY_H
#define NESEMULATOR_MEMORY_H
byte mem_get_byte(Mapper *mapper, address addr);
word mem_get_word(Mapper *mapper, address addr);
void mem_set_byte(Mapper *mapper, address addr, byte byte);
#endif //NESEMULATOR_MEMORY_H