nesemu/mappers/simple_mapper.c

11 lines
201 B
C
Raw Normal View History

2023-11-26 12:11:49 -05:00
#include "../include/mapper.h"
address redirect_addr(address addr) {
return addr;
}
Mapper get_simple_mapper() {
Mapper mapper;
mapper.redirect_addr = &redirect_addr;
return mapper;
}