diff vdp.c @ 2709:55eff4d9101d

Fix hang when running BTTF3 US in PAL mode
author Michael Pavone <pavone@retrodev.com>
date Mon, 07 Jul 2025 22:53:49 -0700
parents 5ca4e0fd761b
children
line wrap: on
line diff
--- a/vdp.c	Mon Jul 07 22:12:42 2025 -0700
+++ b/vdp.c	Mon Jul 07 22:53:49 2025 -0700
@@ -2129,8 +2129,14 @@
 			jump_end = 0x1E5;
 		}
 	} else {
-		jump_start = 0xDB;
-		jump_end = 0x1D5;
+		//TODO: extended heights on VDPs with that feature
+		if (context->flags2 & FLAG2_REGION_PAL) {
+			jump_start = 0xF3;
+			jump_end = 0x1BA;
+		} else {
+			jump_start = 0xDB;
+			jump_end = 0x1D5;
+		}
 	}
 
 	if (context->enabled_debuggers & (1 << DEBUG_CRAM | 1 << DEBUG_COMPOSITE)) {