-forcing video mode should REALLY work now

This commit is contained in:
fix94.1 2012-01-22 00:42:44 +00:00
parent 0d4660f2e0
commit 59d2dc53b0

View File

@ -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();