void MainWnd::OnCheatsSearchforcheats() { if(theApp.cartridgeType == 0) { GBACheatSearch dlg; dlg.DoModal(); } else { GBCheatSearch dlg; dlg.DoModal(); } }
void MainWnd::OnCheatsSearchforcheats() { theApp.winCheckFullscreen(); if(theApp.cartridgeType == 0) { GBACheatSearch dlg; dlg.DoModal(); } else { GBCheatSearch dlg; dlg.DoModal(); } }
void MainWnd::OnCheatsSearchforcheats() { theApp.winCheckFullscreen(); if (theApp.modelessCheatDialogIsOpen) { gbaDlg.DestroyWindow(); gbDlg.DestroyWindow(); theApp.modelessCheatDialogIsOpen = false; } if (systemCartridgeType == 0) { if (theApp.pauseDuringCheatSearch) { gbaDlg.DoModal(); } else { if (!theApp.modelessCheatDialogIsOpen) { theApp.modelessCheatDialogIsOpen = true; gbaDlg.Create(GBACheatSearch::IDD, theApp.m_pMainWnd); } } } else { if (theApp.pauseDuringCheatSearch) { gbDlg.DoModal(); } else { if (!theApp.modelessCheatDialogIsOpen) { theApp.modelessCheatDialogIsOpen = true; gbDlg.Create(GBCheatSearch::IDD, theApp.m_pMainWnd); } } } }