X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=frontend%2Fmenu.c;h=9ca87c60b40b31bbadb8ae5f469ded824c2e58f5;hb=980f7a58b47fefd3424bf8d55f6345128dc3774c;hp=3a772d0e887fb06a31a8f04bd01154ac2e020b75;hpb=4d66d894c6563cbfb78fe8ccc0b374809fc44b0d;p=pcsx_rearmed.git diff --git a/frontend/menu.c b/frontend/menu.c index 3a772d0e..9ca87c60 100644 --- a/frontend/menu.c +++ b/frontend/menu.c @@ -2652,10 +2652,11 @@ void menu_prepare_emu(void) psxCpu = &psxInt; #endif if (psxCpu != prev_cpu) { + prev_cpu->Notify(R3000ACPU_NOTIFY_BEFORE_SAVE, NULL); prev_cpu->Shutdown(); psxCpu->Init(); - // note that this does not really reset, just clears drc caches psxCpu->Reset(); + psxCpu->Notify(R3000ACPU_NOTIFY_AFTER_LOAD, NULL); } menu_sync_config();