mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 17:23:40 +01:00
Don't trust the messy error checking in EmuScreen with figuring out what to do with zip files.
Ran into multiple odd bugs, the PSP init process really needs a rework..
This commit is contained in:
1 parent
fbaba82c68
commit
0939804a23
2 files changed
+26
-12
No files matched your search
@@ -77,7 +77,6 @@
|
||||
#include "UI/ControlMappingScreen.h"
|
||||
#include "UI/DisplayLayoutScreen.h"
|
||||
#include "UI/GameSettingsScreen.h"
|
||||
#include "UI/InstallZipScreen.h"
|
||||
#include "UI/ProfilerDraw.h"
|
||||
#include "UI/DiscordIntegration.h"
|
||||
#include "UI/ChatScreen.h"
|
||||
@@ -1163,14 +1162,6 @@ void EmuScreen::update() {
|
||||
}
|
||||
|
||||
if (errorMessage_.size()) {
|
||||
// Special handling for ZIP files. It's not very robust to check an error message but meh,
|
||||
// at least it's pre-translation.
|
||||
if (errorMessage_.find("ZIP") != std::string::npos) {
|
||||
screenManager()->push(new InstallZipScreen(gamePath_));
|
||||
errorMessage_ = "";
|
||||
quit_ = true;
|
||||
return;
|
||||
}
|
||||
auto err = GetI18NCategory("Error");
|
||||
std::string errLoadingFile = gamePath_ + "\n";
|
||||
errLoadingFile.append(err->T("Error loading file", "Could not load game"));
|
||||
|
||||
Reference in new issue
Block a user