[Gamecube/Wii] VDP status in 8-bit mode should not be changed when changing region

This commit is contained in:
EkeEke 2016-09-02 16:31:47 +02:00
parent aa084363b6
commit 740f690de8

View File

@ -1632,16 +1632,13 @@ static void systemmenu ()
io_reg[0x00] = 0x80 | (region_code >> 1); io_reg[0x00] = 0x80 | (region_code >> 1);
} }
/* reinitialize VDP */ /* reinitialize VDP timings */
if (vdp_pal) lines_per_frame = vdp_pal ? 313 : 262;
/* reinitialize NTSC/PAL mode in VDP status */
if (system_hw & SYSTEM_MD)
{ {
status |= 1; status = (status & ~1) | vdp_pal;
lines_per_frame = 313;
}
else
{
status &= ~1;
lines_per_frame = 262;
} }
/* reinitialize VC max value */ /* reinitialize VC max value */