]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Ignore non-Amiga (x86 VGA) RTG VRAM location. It is unknown at this point but is...
authorToni Wilen <twilen@winuae.net>
Sun, 11 Sep 2016 16:39:12 +0000 (19:39 +0300)
committerToni Wilen <twilen@winuae.net>
Sun, 11 Sep 2016 16:39:12 +0000 (19:39 +0300)
od-win32/mman.cpp

index 3323855c514ca20b8bd3e4c3c01d709f27e515df..d4d0077515f6f4bda08f52f159dd16c406f857bd 100644 (file)
@@ -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;