More savedata UI polish

This commit is contained in:
Henrik Rydgard committed 2015-06-12 14:46:34 +02:00
1 parent 29514408af
commit b56f21e4f0
7 files changed
+57 -6

No files matched your search

+6
View File
@@ -971,6 +971,12 @@ UI::EventReturn MainScreen::OnGameSelected(UI::EventParams &e) {
#else
std::string path = e.s;
#endif
GameInfo *ginfo = 0;
ginfo = g_gameInfoCache.GetInfo(nullptr, path, GAMEINFO_WANTBG);
if (ginfo && ginfo->fileType == FILETYPE_PSP_SAVEDATA_DIRECTORY) {
return UI::EVENT_DONE;
}
SetBackgroundAudioGame(path);
lockBackgroundAudio_ = true;
screenManager()->push(new GameScreen(path));