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
Merge pull request #732 from bslenul/crash-fix
[pcsx_rearmed.git]
/
libpcsxcore
/
lightrec
/
mem.c
diff --git
a/libpcsxcore/lightrec/mem.c
b/libpcsxcore/lightrec/mem.c
index
ff67e3d
..
c0186da
100644
(file)
--- a/
libpcsxcore/lightrec/mem.c
+++ b/
libpcsxcore/lightrec/mem.c
@@
-190,7
+190,7
@@
int lightrec_init_mmap(void)
err_unmap_scratch:
munmap(psxH, 0x10000);
err_unmap_bios:
err_unmap_scratch:
munmap(psxH, 0x10000);
err_unmap_bios:
- munmap(psxR, 0x
8
0000);
+ munmap(psxR, 0x
20
0000);
err_unmap_parallel:
munmap(psxP, 0x10000);
err_unmap:
err_unmap_parallel:
munmap(psxP, 0x10000);
err_unmap:
@@
-205,7
+205,7
@@
void lightrec_free_mmap(void)
munmap(code_buffer, CODE_BUFFER_SIZE);
munmap(psxH, 0x10000);
munmap(code_buffer, CODE_BUFFER_SIZE);
munmap(psxH, 0x10000);
- munmap(psxR, 0x
8
0000);
+ munmap(psxR, 0x
20
0000);
munmap(psxP, 0x10000);
for (i = 0; i < 4; i++)
munmap((void *)((uintptr_t)psxM + i * 0x200000), 0x200000);
munmap(psxP, 0x10000);
for (i = 0; i < 4; i++)
munmap((void *)((uintptr_t)psxM + i * 0x200000), 0x200000);