mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-12 17:19:28 +01:00
Add game direct load support for new UI
This commit is contained in:
1 parent
5a384a51ce
commit
e0d68e4768
4 files changed
+14
-7
No files matched your search
+7
-1
@@ -409,7 +409,13 @@ UI::EventReturn MainScreen::OnLoadFile(UI::EventParams &e) {
|
||||
}
|
||||
|
||||
UI::EventReturn MainScreen::OnGameSelected(UI::EventParams &e) {
|
||||
screenManager()->push(new GameScreen(e.s));
|
||||
if(g_Config.bDirectLoad) {
|
||||
// Go directly into the game.
|
||||
screenManager()->switchScreen(new EmuScreen(e.s));
|
||||
} else {
|
||||
// Goto Game Menu.
|
||||
screenManager()->push(new GameScreen(e.s));
|
||||
}
|
||||
return UI::EVENT_DONE;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user