Ensure that Sync is called after state restore.
This commit is contained in:
committed by
LibretroAdmin
parent
500fddf33f
commit
f89f4c9b70
@@ -218,6 +218,7 @@ void VRC24_init(CartInfo *info, void (*_sync)(), uint8 _A0, uint8 _A1, uint8 _is
|
|||||||
VRC24_ExternalSelect =NULL;
|
VRC24_ExternalSelect =NULL;
|
||||||
info->Power =VRC24_power;
|
info->Power =VRC24_power;
|
||||||
info->Close =VRC24_close;
|
info->Close =VRC24_close;
|
||||||
|
GameStateRestore =_sync;
|
||||||
AddExState(VRC24_stateRegs, ~0, 0, 0);
|
AddExState(VRC24_stateRegs, ~0, 0, 0);
|
||||||
if (VRC24_isVRC4) {
|
if (VRC24_isVRC4) {
|
||||||
MapIRQHook =VRC4_cpuCycle;
|
MapIRQHook =VRC4_cpuCycle;
|
||||||
|
|||||||
Reference in New Issue
Block a user