Fix PSX unmap issue causing crash on exit
authorCatalystG <CatalystGdev@gmail.com>
Sat, 9 Mar 2013 15:07:12 +0000 (10:07 -0500)
committernotaz <notasas@gmail.com>
Fri, 15 Mar 2013 00:19:21 +0000 (02:19 +0200)
libpcsxcore/psxmem.c

index 4373121..f12a981 100644 (file)
@@ -198,7 +198,7 @@ void psxMemReset() {
 
 void psxMemShutdown() {
        psxUnmap(psxM, 0x00210000, MAP_TAG_RAM);
-       psxUnmap(psxH, 0x1f800000, MAP_TAG_OTHER);
+       psxUnmap(psxH, 0x10000, MAP_TAG_OTHER);
        psxUnmap(psxR, 0x80000, MAP_TAG_OTHER);
 
        free(psxMemRLUT);