From 59d2dc53b09566600a32782935f736758fb0d1fa Mon Sep 17 00:00:00 2001 From: "fix94.1" Date: Sun, 22 Jan 2012 00:42:44 +0000 Subject: [PATCH] -forcing video mode should REALLY work now --- source/menu/menu_game.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/menu/menu_game.cpp b/source/menu/menu_game.cpp index f8ab35b3..e82991cc 100644 --- a/source/menu/menu_game.cpp +++ b/source/menu/menu_game.cpp @@ -548,8 +548,7 @@ extern "C" {extern void USBStorage_Deinit(void);} void CMenu::_launchGC(const char *id) { - int DMLvideoMode = m_gcfg2.getInt(id, "dml_video_mode", 0); - + u8 DMLvideoMode = min((u32)m_gcfg2.getInt(id, "dml_video_mode", 0), ARRAY_SIZE(CMenu::_DMLvideoModes) - 1u); Close_Inputs(); USBStorage_Deinit(); Nand::Instance()->Disable_Emu();