From a327ad27099341fb6eed61aa0419dff418429f96 Mon Sep 17 00:00:00 2001 From: notaz Date: Sun, 15 Apr 2012 19:49:49 +0300 Subject: support emulated RAM mapped at offset Thanks to CatalystG for some initial code and testing. --- libpcsxcore/new_dynarec/emu_if.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libpcsxcore/new_dynarec/emu_if.h') diff --git a/libpcsxcore/new_dynarec/emu_if.h b/libpcsxcore/new_dynarec/emu_if.h index 6b6305c..72f6c27 100644 --- a/libpcsxcore/new_dynarec/emu_if.h +++ b/libpcsxcore/new_dynarec/emu_if.h @@ -97,3 +97,9 @@ void pcsx_mtc0_ds(u32 reg, u32 val); /* misc */ extern void (*psxHLEt[])(); + +#ifdef RAM_FIXED +#define rdram ((u_int)0x80000000) +#else +#define rdram ((u_int)psxM) +#endif -- cgit v1.2.3