summaryrefslogtreecommitdiff
path: root/gui/DebugMemory.c
diff options
context:
space:
mode:
authoriCatButler <i.am.catbutler@gmail.com>2018-03-19 07:39:08 +0000
committerGitHub <noreply@github.com>2018-03-19 07:39:08 +0000
commit6f76041029393c6823973a29426b28c8c2d0b064 (patch)
tree13c1bb5215c2510a7c430b59bc22df666cd2fbf3 /gui/DebugMemory.c
parent768332417644451d38ce1a737465656c7cc75de3 (diff)
parent128d6afb179756513860187cf5e31d84d6d8cac4 (diff)
downloadpcsxr-6f76041029393c6823973a29426b28c8c2d0b064.tar.gz
Merge pull request #7 from loathingKernel/sync-with-codeplex
Sync with codeplex
Diffstat (limited to 'gui/DebugMemory.c')
-rwxr-xr-xgui/DebugMemory.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/DebugMemory.c b/gui/DebugMemory.c
index 096b6c5c..9bd4d322 100755
--- a/gui/DebugMemory.c
+++ b/gui/DebugMemory.c
@@ -18,6 +18,7 @@
#include "Linux.h"
#include "../libpcsxcore/psxmem.h"
+#include "../libpcsxcore/r3000a.h"
#include <gtk/gtk.h>
#define MEMVIEW_MAX_LINES 256
@@ -286,6 +287,9 @@ static void MemView_Patch() {
}
psxMemWrite8(addr, (u8)val);
+#ifdef PSXREC
+ psxCpu->Clear(addr, 1);
+#endif
addr++;
}