aboutsummaryrefslogtreecommitdiff
path: root/src/NDS.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/NDS.cpp')
-rw-r--r--src/NDS.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/NDS.cpp b/src/NDS.cpp
index 2ad6bad..18ae3e9 100644
--- a/src/NDS.cpp
+++ b/src/NDS.cpp
@@ -1137,7 +1137,9 @@ void MapSharedWRAM(u8 val)
if (val == WRAMCnt)
return;
+#ifdef JIT_ENABLED
ARMJIT_Memory::RemapSWRAM();
+#endif
WRAMCnt = val;