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
cdriso: clean up mode1 detection
[pcsx_rearmed.git]
/
libpcsxcore
/
psxmem.h
diff --git
a/libpcsxcore/psxmem.h
b/libpcsxcore/psxmem.h
index
c51aebe
..
129973c
100644
(file)
--- a/
libpcsxcore/psxmem.h
+++ b/
libpcsxcore/psxmem.h
@@
-46,7
+46,11
@@
extern "C" {
#endif
#endif
+#ifdef LIGHTREC
#define INVALID_PTR ((void *)-1)
#define INVALID_PTR ((void *)-1)
+#else
+#define INVALID_PTR NULL
+#endif
extern s8 *psxM;
#define psxMs8(mem) psxM[(mem) & 0x1fffff]
extern s8 *psxM;
#define psxMs8(mem) psxM[(mem) & 0x1fffff]
@@
-123,6
+127,7
@@
extern u8 **psxMemRLUT;
int psxMemInit();
void psxMemReset();
int psxMemInit();
void psxMemReset();
+void psxMemOnIsolate(int enable);
void psxMemShutdown();
u8 psxMemRead8 (u32 mem);
void psxMemShutdown();
u8 psxMemRead8 (u32 mem);