From: notaz Date: Wed, 6 Nov 2024 23:58:34 +0000 (+0200) Subject: fix too early notify X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c865887053adee77d430ad0e6e079601fd1bf688;p=pcsx_rearmed.git fix too early notify drc mem setup needs hw regs loaded --- diff --git a/libpcsxcore/misc.c b/libpcsxcore/misc.c index 6ba8d72c..5b4d81b9 100644 --- a/libpcsxcore/misc.c +++ b/libpcsxcore/misc.c @@ -795,8 +795,6 @@ int LoadState(const char *file) { CdromFrontendId = misc->CdromFrontendId; } - psxCpu->Notify(R3000ACPU_NOTIFY_AFTER_LOAD, NULL); - if (Config.HLE) psxBiosFreeze(0); @@ -828,6 +826,8 @@ int LoadState(const char *file) { if (Config.HLE) psxBiosCheckExe(biosBranchCheckOld, 0x60, 1); + psxCpu->Notify(R3000ACPU_NOTIFY_AFTER_LOAD, NULL); + result = 0; cleanup: memset(misc, 0, sizeof(*misc));