mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 05:19:56 +00:00
Forgetting "return true" fooled the optimizer into crashing. Fixes #13215.
This commit is contained in:
parent
49f1ac284d
commit
118bb72037
@ -94,6 +94,7 @@ bool LaunchFile(ScreenManager *screenManager, std::string path) {
|
||||
screenManager->switchScreen(new EmuScreen(path));
|
||||
break;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool IsTempPath(const std::string &str) {
|
||||
@ -1326,7 +1327,8 @@ UI::EventReturn MainScreen::OnGameSelectedInstant(UI::EventParams &e) {
|
||||
#else
|
||||
std::string path = e.s;
|
||||
#endif
|
||||
LaunchFile(screenManager(), path);
|
||||
ScreenManager *screen = screenManager();
|
||||
LaunchFile(screen, path);
|
||||
return UI::EVENT_DONE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user