Disable changing PSP mode when game is running.

It causes crashes in games actually using the extra memory.
This commit is contained in:
LunaMoo 2015-06-26 03:08:38 +02:00
parent ce23ca1d92
commit dc21c6d634

View file

@ -584,7 +584,7 @@ void GameSettingsScreen::CreateViews() {
systemSettings->Add(new ItemHeader(s->T("PSP Settings")));
static const char *models[] = {"PSP-1000" , "PSP-2000/3000"};
systemSettings->Add(new PopupMultiChoice(&g_Config.iPSPModel, s->T("PSP Model"), models, 0, ARRAY_SIZE(models), s, screenManager()));
systemSettings->Add(new PopupMultiChoice(&g_Config.iPSPModel, s->T("PSP Model"), models, 0, ARRAY_SIZE(models), s, screenManager()))->SetEnabled(!PSP_IsInited());
// TODO: Come up with a way to display a keyboard for mobile users,
// so until then, this is Windows/Desktop only.
#if defined(_WIN32) // TODO: Add all platforms where KEY_CHAR support is added