From: Toni Wilen Date: Sun, 11 Sep 2016 16:39:12 +0000 (+0300) Subject: Ignore non-Amiga (x86 VGA) RTG VRAM location. It is unknown at this point but is... X-Git-Tag: 3400~95 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=59588f430620735f0c5bbf02d09945f4160cf917;p=francis%2Fwinuae.git Ignore non-Amiga (x86 VGA) RTG VRAM location. It is unknown at this point but is always guaranteed to be below 16M. --- diff --git a/od-win32/mman.cpp b/od-win32/mman.cpp index 3323855c..d4d00775 100644 --- a/od-win32/mman.cpp +++ b/od-win32/mman.cpp @@ -424,7 +424,7 @@ static int doinit_shm (void) } // rtg outside of natmem? - if (end_rtg > natmem_reserved_size) { + if (start_rtg > 0 && start_rtg < 0xffffffff && end_rtg > natmem_reserved_size) { if (jit_direct_compatible_memory) { write_log(_T("MMAN: VRAM outside of natmem (%08x > %08x), switching off JIT Direct.\n"), end_rtg, natmem_reserved_size); jit_direct_compatible_memory = false;