diff options
author | notaz | 2013-04-02 01:29:57 +0300 |
---|---|---|
committer | notaz | 2013-04-02 01:33:31 +0300 |
commit | 0069615fdda3a28da547a191bef990256620ff69 (patch) | |
tree | f1740a772d09f36bd5a096f3ddd0680a37705a7a /libpcsxcore/new_dynarec/emu_if.c | |
parent | ea12009c5dd07e7496f67c40cfe415b41f5850e8 (diff) | |
download | pcsx_rearmed-0069615fdda3a28da547a191bef990256620ff69.tar.gz pcsx_rearmed-0069615fdda3a28da547a191bef990256620ff69.tar.bz2 pcsx_rearmed-0069615fdda3a28da547a191bef990256620ff69.zip |
avoid MAP_FIXED, log mappings
MAP_FIXED overrides existing mappings, we don't want that
Diffstat (limited to 'libpcsxcore/new_dynarec/emu_if.c')
-rw-r--r-- | libpcsxcore/new_dynarec/emu_if.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libpcsxcore/new_dynarec/emu_if.c b/libpcsxcore/new_dynarec/emu_if.c index 324071d..cb95cb1 100644 --- a/libpcsxcore/new_dynarec/emu_if.c +++ b/libpcsxcore/new_dynarec/emu_if.c @@ -260,6 +260,7 @@ static int ari64_init() { extern void (*psxCP2[64])(); extern void psxNULL(); + extern u_char *out; size_t i; new_dynarec_init(); @@ -289,6 +290,10 @@ static int ari64_init() zeromem_ptr = zero_mem; scratch_buf_ptr = scratch_buf; + SysPrintf("Mapped (RAM/scrp/ROM/LUTs/TC):\n"); + SysPrintf("%08x/%08x/%08x/%08x/%08x\n", + psxM, psxH, psxR, mem_rtab, out); + return 0; } @@ -388,6 +393,8 @@ int new_dynarec_hacks; void *psxH_ptr; void *zeromem_ptr; u8 zero_mem[0x1000]; +u_char *out; +void *mem_rtab; void *scratch_buf_ptr; void new_dynarec_init() { (void)ari64_execute; } void new_dyna_start() {} |