23 lines
352 B
C
23 lines
352 B
C
//
|
|
// Created by william on 10/15/23.
|
|
//
|
|
|
|
#include "types.h"
|
|
|
|
#ifndef NESEMULATOR_MAPPER_H
|
|
#define NESEMULATOR_MAPPER_H
|
|
|
|
typedef struct mapper {
|
|
address prg_rom_start_addr;
|
|
|
|
void (*post_prg_load)(ram, unsigned int);
|
|
} Mapper;
|
|
|
|
enum MapperType {
|
|
MAPPER_TYPE_SIMPLE
|
|
};
|
|
|
|
Mapper get_mapper(enum MapperType type);
|
|
|
|
#endif //NESEMULATOR_MAPPER_H
|