Pull from upstream
This commit is contained in:
@@ -95,9 +95,13 @@ static void power (void) {
|
||||
SetReadHandler(0xC000, 0xCFFF, readPCM);
|
||||
}
|
||||
|
||||
static void StateRestore(int version) {
|
||||
sync();
|
||||
}
|
||||
|
||||
void Mapper413_Init(CartInfo *info) {
|
||||
pcmAddressMask =info->miscROMSize -1;
|
||||
GameStateRestore =sync;
|
||||
GameStateRestore =StateRestore;
|
||||
GameHBIRQHook =horizontalBlanking;
|
||||
info->Power = power;
|
||||
AddExState(stateRegs, ~0, 0, 0);
|
||||
|
||||
@@ -571,6 +571,10 @@ void FFE_Init(CartInfo *info) {
|
||||
PPU_hook =trapPPUAddressChangeFFE;
|
||||
}
|
||||
|
||||
static void StateRestore(int version) {
|
||||
sync();
|
||||
}
|
||||
|
||||
void Mapper561_562_Init(CartInfo *info) {
|
||||
int CHRRAMSize;
|
||||
maker =info->mapper ==562? VENUS: BUNG;
|
||||
@@ -624,7 +628,7 @@ void Mapper561_562_Init(CartInfo *info) {
|
||||
} else
|
||||
trainerSize =0;
|
||||
|
||||
GameStateRestore =sync;
|
||||
GameStateRestore =StateRestore;
|
||||
info->Power =power;
|
||||
info->Close =close;
|
||||
if (maker ==VENUS) {
|
||||
|
||||
Reference in New Issue
Block a user