Skip to content

Commit

Permalink
drc: fix wrong unmap size
Browse files Browse the repository at this point in the history
  • Loading branch information
notaz committed Jul 12, 2023
1 parent 826ba56 commit ed7afee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libpcsxcore/new_dynarec/pcsxmem.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit ed7afee

Please sign in to comment.