mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-11-14 06:45:09 +01:00
[Gamecube/Wii] VDP status in 8-bit mode should not be changed when changing region
This commit is contained in:
parent
aa084363b6
commit
740f690de8
@ -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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user