Give GameInfo some new powers, like deleting savedata (no UI yet) and computing file sizes. Recognize directories with EBOOT.PBP in them as "games" in their own right, makes things a little cleaner.

This commit is contained in:
Henrik Rydgard committed 2013-06-08 17:52:51 +02:00
1 parent f3224a60e1
commit 3b07090682
9 files changed
+223 -82

No files matched your search

+3 -3
View File
@@ -96,8 +96,8 @@ bool PSP_Init(const CoreParameter &coreParam, std::string *error_string)
// TODO: Check Game INI here for settings, patches and cheats, and modify coreParameter accordingly
if (!LoadFile(coreParameter.fileToStart.c_str(), error_string))
{
std::string filename = coreParameter.fileToStart;
if (!LoadFile(filename, error_string)) {
pspFileSystem.Shutdown();
CoreTiming::Shutdown();
__KernelShutdown();
@@ -109,7 +109,7 @@ bool PSP_Init(const CoreParameter &coreParam, std::string *error_string)
}
if (coreParam.updateRecent)
g_Config.AddRecent(coreParameter.fileToStart);
g_Config.AddRecent(filename);
// Setup JIT here.
if (coreParameter.startPaused)