From 2209cf22deef0a7fd4d9a1e10946f6506e3ba5ce Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Mon, 6 Apr 2015 00:37:33 -0700 Subject: [PATCH] Do the memcheck after the memory access in HLE. --- Core/MemMapHelpers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/MemMapHelpers.h b/Core/MemMapHelpers.h index 08ddf2f0e8..9921b11c9c 100644 --- a/Core/MemMapHelpers.h +++ b/Core/MemMapHelpers.h @@ -54,10 +54,10 @@ inline void Memcpy(void *to_data, const u32 from_address, const u32 len) inline void Memcpy(const u32 to_address, const u32 from_address, const u32 len) { + Memcpy(GetPointer(to_address), from_address, len); #ifndef MOBILE_DEVICE CBreakPoints::ExecMemCheck(to_address, true, len, currentMIPS->pc); #endif - Memcpy(GetPointer(to_address), from_address, len); } void Memset(const u32 _Address, const u8 _Data, const u32 _iLength);