notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ARM build fixes. (Should fix building on ARM/GCC10) (#210)
[pcsx_rearmed.git]
/
libpcsxcore
/
psxmem.c
diff --git
a/libpcsxcore/psxmem.c
b/libpcsxcore/psxmem.c
index
a1a641d
..
3caf889
100644
(file)
--- a/
libpcsxcore/psxmem.c
+++ b/
libpcsxcore/psxmem.c
@@
-307,7
+307,7
@@
void psxMemWrite8(u32 mem, u8 value) {
if (Config.Debug)
DebugCheckBP((mem & 0xffffff) | 0x80000000, W1);
*(u8 *)(p + (mem & 0xffff)) = value;
if (Config.Debug)
DebugCheckBP((mem & 0xffffff) | 0x80000000, W1);
*(u8 *)(p + (mem & 0xffff)) = value;
-#if
def PSXREC
+#if
ndef DRC_DISABLE
psxCpu->Clear((mem & (~3)), 1);
#endif
} else {
psxCpu->Clear((mem & (~3)), 1);
#endif
} else {
@@
-334,7
+334,7
@@
void psxMemWrite16(u32 mem, u16 value) {
if (Config.Debug)
DebugCheckBP((mem & 0xffffff) | 0x80000000, W2);
*(u16 *)(p + (mem & 0xffff)) = SWAPu16(value);
if (Config.Debug)
DebugCheckBP((mem & 0xffffff) | 0x80000000, W2);
*(u16 *)(p + (mem & 0xffff)) = SWAPu16(value);
-#if
def PSXREC
+#if
ndef DRC_DISABLE
psxCpu->Clear((mem & (~3)), 1);
#endif
} else {
psxCpu->Clear((mem & (~3)), 1);
#endif
} else {
@@
-362,12
+362,12
@@
void psxMemWrite32(u32 mem, u32 value) {
if (Config.Debug)
DebugCheckBP((mem & 0xffffff) | 0x80000000, W4);
*(u32 *)(p + (mem & 0xffff)) = SWAPu32(value);
if (Config.Debug)
DebugCheckBP((mem & 0xffffff) | 0x80000000, W4);
*(u32 *)(p + (mem & 0xffff)) = SWAPu32(value);
-#if
def PSXREC
+#if
ndef DRC_DISABLE
psxCpu->Clear(mem, 1);
#endif
} else {
if (mem != 0xfffe0130) {
psxCpu->Clear(mem, 1);
#endif
} else {
if (mem != 0xfffe0130) {
-#if
def PSXREC
+#if
ndef DRC_DISABLE
if (!writeok)
psxCpu->Clear(mem, 1);
#endif
if (!writeok)
psxCpu->Clear(mem, 1);
#endif