[Gamecube] fixed switching from progressive to interlaced video mode on startup

This commit is contained in:
ekeeke 2021-03-28 09:29:17 +02:00
parent 32a2edb6a6
commit 605aa52baa
2 changed files with 3 additions and 2 deletions

View File

@ -3,7 +3,7 @@
* *
* Genesis Plus GX configuration file support * Genesis Plus GX configuration file support
* *
* Copyright Eke-Eke (2007-2019) * Copyright Eke-Eke (2007-2021)
* *
* Redistribution and use of this code or any derivative works are permitted * Redistribution and use of this code or any derivative works are permitted
* provided that the following conditions are met: * provided that the following conditions are met:
@ -289,6 +289,7 @@ void config_default(void)
{ {
/* switch menu video mode to interlaced */ /* switch menu video mode to interlaced */
vmode->viTVMode = (vmode->viTVMode & ~3) | VI_INTERLACE; vmode->viTVMode = (vmode->viTVMode & ~3) | VI_INTERLACE;
vmode->xfbMode = VI_XFBMODE_DF;
VIDEO_Configure(vmode); VIDEO_Configure(vmode);
VIDEO_Flush(); VIDEO_Flush();
VIDEO_WaitVSync(); VIDEO_WaitVSync();

View File

@ -3,7 +3,7 @@
* *
* Genesis Plus GX configuration file support * Genesis Plus GX configuration file support
* *
* Copyright Eke-Eke (2007-2019) * Copyright Eke-Eke (2007-2021)
* *
* Redistribution and use of this code or any derivative works are permitted * Redistribution and use of this code or any derivative works are permitted
* provided that the following conditions are met: * provided that the following conditions are met: