notaz.gp2x.de
/
pcsx_rearmed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08621fe
)
drc: fix wrong unmap size
author
notaz
<notasas@gmail.com>
Wed, 12 Jul 2023 21:03:03 +0000
(
00:03
+0300)
committer
notaz
<notasas@gmail.com>
Wed, 12 Jul 2023 22:29:11 +0000
(
01:29
+0300)
libpcsxcore/new_dynarec/pcsxmem.c
patch
|
blob
|
blame
|
history
diff --git
a/libpcsxcore/new_dynarec/pcsxmem.c
b/libpcsxcore/new_dynarec/pcsxmem.c
index
8057b7e
..
694b8d0
100644
(file)
--- a/
libpcsxcore/new_dynarec/pcsxmem.c
+++ b/
libpcsxcore/new_dynarec/pcsxmem.c
@@
-502,6
+502,6
@@
void new_dyna_pcsx_mem_reset(void)
void new_dyna_pcsx_mem_shutdown(void)
{
- psxUnmap(mem_readtab, 0x200000 *
4
, MAP_TAG_LUTS);
+ psxUnmap(mem_readtab, 0x200000 *
sizeof(mem_readtab[0])
, MAP_TAG_LUTS);
mem_writetab = mem_readtab = NULL;
}