From 59588f430620735f0c5bbf02d09945f4160cf917 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Sun, 11 Sep 2016 19:39:12 +0300 Subject: [PATCH] Ignore non-Amiga (x86 VGA) RTG VRAM location. It is unknown at this point but is always guaranteed to be below 16M. --- od-win32/mman.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.47.3