X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=libpcsxcore%2Flightrec%2Fmem.c;h=2c7647014779fa7d8157bfa6293a9ce57dfd676b;hb=2ec79b77bf0925c69ece6e51fc219a1e783aa432;hp=ff67e3d010b3fa28efa3dd070dc0c3c19bda5fe4;hpb=473f5cc63f9942866e01c7c84d151e8157cdb6ee;p=pcsx_rearmed.git diff --git a/libpcsxcore/lightrec/mem.c b/libpcsxcore/lightrec/mem.c index ff67e3d0..2c764701 100644 --- a/libpcsxcore/lightrec/mem.c +++ b/libpcsxcore/lightrec/mem.c @@ -31,8 +31,6 @@ #define MFD_HUGETLB 0x0004 #endif -void *code_buffer; - static const uintptr_t supported_io_bases[] = { 0x0, 0x10000000, @@ -190,7 +188,7 @@ int lightrec_init_mmap(void) err_unmap_scratch: munmap(psxH, 0x10000); err_unmap_bios: - munmap(psxR, 0x80000); + munmap(psxR, 0x200000); err_unmap_parallel: munmap(psxP, 0x10000); err_unmap: @@ -205,7 +203,7 @@ void lightrec_free_mmap(void) munmap(code_buffer, CODE_BUFFER_SIZE); munmap(psxH, 0x10000); - munmap(psxR, 0x80000); + munmap(psxR, 0x200000); munmap(psxP, 0x10000); for (i = 0; i < 4; i++) munmap((void *)((uintptr_t)psxM + i * 0x200000), 0x200000);