21 lines
321 B
C
21 lines
321 B
C
|
//
|
||
|
// Created by william on 10/15/23.
|
||
|
//
|
||
|
|
||
|
#ifndef NESEMULATOR_MAPPER_H
|
||
|
#define NESEMULATOR_MAPPER_H
|
||
|
|
||
|
#include "../include/cpu.h"
|
||
|
|
||
|
typedef struct {
|
||
|
address (*redirect_addr)(unsigned short);
|
||
|
} Mapper;
|
||
|
|
||
|
enum MapperType {
|
||
|
MAPPER_TYPE_SIMPLE
|
||
|
};
|
||
|
|
||
|
Mapper get_mapper(enum MapperType type);
|
||
|
|
||
|
#endif //NESEMULATOR_MAPPER_H
|