Start undoing C++ comments
This commit is contained in:
@@ -46,8 +46,8 @@ static DECLFW(MNNNWrite) {
|
||||
}
|
||||
|
||||
static void MNNNPower(void) {
|
||||
// SetReadHandler(0x6000, 0x7fff, CartBR);
|
||||
// SetWriteHandler(0x6000, 0x7fff, CartBW);
|
||||
/* SetReadHandler(0x6000, 0x7fff, CartBR); */
|
||||
/* SetWriteHandler(0x6000, 0x7fff, CartBW); */
|
||||
SetReadHandler(0x8000, 0xFFFF, CartBR);
|
||||
SetWriteHandler(0x8000, 0xFFFF, MNNNWrite);
|
||||
}
|
||||
@@ -76,16 +76,15 @@ static void StateRestore(int version) {
|
||||
void MapperNNN_Init(CartInfo *info) {
|
||||
info->Reset = MNNNReset;
|
||||
info->Power = MNNNPower;
|
||||
// info->Close = MNNNClose;
|
||||
/* info->Close = MNNNClose; */
|
||||
GameHBIRQHook = MNNNIRQHook;
|
||||
GameStateRestore = StateRestore;
|
||||
/*
|
||||
#if 0
|
||||
CHRRAMSIZE = 8192;
|
||||
CHRRAM = (uint8*)FCEU_gmalloc(CHRRAMSIZE);
|
||||
SetupCartCHRMapping(0x10, CHRRAM, CHRRAMSIZE, 1);
|
||||
AddExState(CHRRAM, CHRRAMSIZE, 0, "CRAM");
|
||||
*/
|
||||
/*
|
||||
|
||||
WRAMSIZE = 8192;
|
||||
WRAM = (uint8*)FCEU_gmalloc(WRAMSIZE);
|
||||
SetupCartPRGMapping(0x10, WRAM, WRAMSIZE, 1);
|
||||
@@ -94,6 +93,6 @@ void MapperNNN_Init(CartInfo *info) {
|
||||
info->SaveGame[0] = WRAM;
|
||||
info->SaveGameLen[0] = WRAMSIZE;
|
||||
}
|
||||
*/
|
||||
#endif
|
||||
AddExState(&StateRegs, ~0, 0, 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user