From 236f2a1ddb70046f6803f1849d0f0cc6bc5897bb Mon Sep 17 00:00:00 2001 From: zilmar Date: Thu, 4 Oct 2012 10:07:26 +1000 Subject: [PATCH] do not fail on write invalid non memory address (failure should be for a tlb miss, not unhandled register --- Source/Project64/N64 System/Mips/Memory Virtual Mem.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Project64/N64 System/Mips/Memory Virtual Mem.cpp b/Source/Project64/N64 System/Mips/Memory Virtual Mem.cpp index 81ea92474..550612c3e 100644 --- a/Source/Project64/N64 System/Mips/Memory Virtual Mem.cpp +++ b/Source/Project64/N64 System/Mips/Memory Virtual Mem.cpp @@ -254,7 +254,8 @@ BOOL CMipsMemoryVM::SW_VAddr ( DWORD VAddr, DWORD Value ) if (VAddr < 0xA4000000 || VAddr >= 0xA4002000) { VAddr &= 0x1FFFFFFF; - return SW_NonMemory(VAddr,Value); + SW_NonMemory(VAddr,Value); + return true; } } if (m_TLB_WriteMap[VAddr >> 12] == 0) { return FALSE; }