Logic for to allow for Qt GUI to auto detect NTSC/PAL at ROM load.

This commit is contained in:
mjbudd77 2021-02-24 19:23:07 -05:00
parent 2f83d11baa
commit 67c6386688
1 changed files with 2 additions and 1 deletions

View File

@ -314,7 +314,8 @@ int LoadGame(const char *path, bool silent)
// set pal/ntsc
int id;
g_config->getOption("SDL.PAL", &id);
id = FCEUI_GetCurrentVidSystem(NULL, NULL);
g_config->setOption("SDL.PAL", id);
FCEUI_SetRegion(id);
g_config->getOption("SDL.SwapDuty", &id);