From ae8ce5ad23feaaad68dd0d1a4676afe205487b95 Mon Sep 17 00:00:00 2001 From: Stefanos Kornilios Mitsis Poiitidis Date: Wed, 25 Feb 2015 19:30:08 +0100 Subject: [PATCH] sh4/rdv_CompilePC: Fix boot time automatic cache flushes The bios boots from 0xA... addresses, not 0x8... so the flushes were never triggered --- core/hw/sh4/dyna/driver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/hw/sh4/dyna/driver.cpp b/core/hw/sh4/dyna/driver.cpp index d90c71e1f..669c39a95 100644 --- a/core/hw/sh4/dyna/driver.cpp +++ b/core/hw/sh4/dyna/driver.cpp @@ -212,7 +212,7 @@ DynarecCodeEntry* rdv_CompilePC() { u32 pc=next_pc; - if (emit_FreeSpace()<16*1024 || pc==0x8c0000e0 || pc==0x8c010000 || pc==0x8c008300) + if (emit_FreeSpace()<16*1024 || pc==0x8c0000e0 || pc==0xac010000 || pc==0xac008300) recSh4_ClearCache(); RuntimeBlockInfo* rv=0;