From c865887053adee77d430ad0e6e079601fd1bf688 Mon Sep 17 00:00:00 2001 From: notaz Date: Thu, 7 Nov 2024 01:58:34 +0200 Subject: [PATCH] fix too early notify drc mem setup needs hw regs loaded --- libpcsxcore/misc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)); -- 2.39.5