# HG changeset patch # User Michael Pavone # Date 1431902600 25200 # Node ID e29bc2918f69f3b59cd90227e28712670099a1cb # Parent f9b80a78d9a62ec0982061aa2e1bb247dad2b337 Fix VDP status register PAL bit based on observations of the Titan Overdrive demo diff -r f9b80a78d9a6 -r e29bc2918f69 vdp.c --- 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);