nesemu/include/mapper.h

23 lines
347 B
C
Raw Normal View History

2023-11-26 12:11:49 -05:00
//
// Created by william on 10/15/23.
//
2024-01-06 14:27:09 -05:00
#include "types.h"
2023-11-26 12:11:49 -05:00
#ifndef NESEMULATOR_MAPPER_H
#define NESEMULATOR_MAPPER_H
2024-01-06 14:27:09 -05:00
typedef struct mapper {
address prg_rom_start_addr;
2023-11-26 12:11:49 -05:00
2024-05-06 20:23:44 -04:00
void (*post_prg_load)(unsigned int);
2023-11-26 12:11:49 -05:00
} Mapper;
enum MapperType {
MAPPER_TYPE_SIMPLE
};
Mapper get_mapper(enum MapperType type);
#endif //NESEMULATOR_MAPPER_H