changeset 714:e29bc2918f69

Fix VDP status register PAL bit based on observations of the Titan Overdrive demo
author Michael Pavone <pavone@retrodev.com>
date Sun, 17 May 2015 15:43:20 -0700
parents f9b80a78d9a6
children 1c2020d3e275
files vdp.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/vdp.c	Sun May 17 15:41:15 2015 -0700
+++ b/vdp.c	Sun May 17 15:43:20 2015 -0700
@@ -1757,7 +1757,7 @@
 	if (context->flags & FLAG_DMA_RUN) {
 		value |= 0x2;
 	}
-	if (context->latched_mode & BIT_PAL) {//Not sure about this, need to verify
+	if (context->flags2 & FLAG2_REGION_PAL) {
 		value |= 0x1;
 	}
 	//printf("status read at cycle %d returned %X\n", context->cycles, value);