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
try to support more compilers
[pcsx_rearmed.git]
/
libpcsxcore
/
psxmem.c
diff --git
a/libpcsxcore/psxmem.c
b/libpcsxcore/psxmem.c
index
898eac9
..
8c7c37b
100644
(file)
--- a/
libpcsxcore/psxmem.c
+++ b/
libpcsxcore/psxmem.c
@@
-26,6
+26,7
@@
#include "psxmem.h"
#include "r3000a.h"
#include "psxhw.h"
#include "psxmem.h"
#include "r3000a.h"
#include "psxhw.h"
+#include "debug.h"
#include <sys/mman.h>
#ifndef MAP_ANONYMOUS
#include <sys/mman.h>
#ifndef MAP_ANONYMOUS
@@
-261,7
+262,7
@@
void psxMemWrite16(u32 mem, u16 value) {
DebugCheckBP((mem & 0xffffff) | 0x80000000, W2);
*(u16 *)(p + (mem & 0xffff)) = SWAPu16(value);
#ifdef PSXREC
DebugCheckBP((mem & 0xffffff) | 0x80000000, W2);
*(u16 *)(p + (mem & 0xffff)) = SWAPu16(value);
#ifdef PSXREC
- psxCpu->Clear((mem & (~
1
)), 1);
+ psxCpu->Clear((mem & (~
3
)), 1);
#endif
} else {
#ifdef PSXMEM_LOG
#endif
} else {
#ifdef PSXMEM_LOG