From: frangarcj Date: Tue, 6 Sep 2016 14:44:21 +0000 (+0200) Subject: (VITA) More dynarec fixes X-Git-Tag: r24l~839^2~1 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c2e3fc3baf93e7c17f678d0d187e9f424360bb2;p=pcsx_rearmed.git (VITA) More dynarec fixes --- diff --git a/libpcsxcore/new_dynarec/new_dynarec.c b/libpcsxcore/new_dynarec/new_dynarec.c index 56c8a0b4..757b781f 100644 --- a/libpcsxcore/new_dynarec/new_dynarec.c +++ b/libpcsxcore/new_dynarec/new_dynarec.c @@ -1236,6 +1236,9 @@ void invalidate_addr(u_int addr) void invalidate_all_pages() { u_int page,n; + #if defined(VITA) + sceKernelOpenVMDomain(); + #endif for(page=0;page<4096;page++) invalidate_page(page); for(page=0;page<1048576;page++) @@ -1244,6 +1247,9 @@ void invalidate_all_pages() restore_candidate[((page&2047)>>3)+256]|=1<<(page&7); } #ifdef __arm__ + #if defined(VITA) + sceKernelCloseVMDomain(); + #endif __clear_cache((void *)BASE_ADDR,(void *)BASE_ADDR+(1<