mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-11-10 21:05:12 +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);
|
||||
}
|
||||
|
||||
/* reinitialize VDP */
|
||||
if (vdp_pal)
|
||||
/* reinitialize VDP timings */
|
||||
lines_per_frame = vdp_pal ? 313 : 262;
|
||||
|
||||
/* reinitialize NTSC/PAL mode in VDP status */
|
||||
if (system_hw & SYSTEM_MD)
|
||||
{
|
||||
status |= 1;
|
||||
lines_per_frame = 313;
|
||||
}
|
||||
else
|
||||
{
|
||||
status &= ~1;
|
||||
lines_per_frame = 262;
|
||||
status = (status & ~1) | vdp_pal;
|
||||
}
|
||||
|
||||
/* reinitialize VC max value */
|
||||
|
Loading…
Reference in New Issue
Block a user