mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
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:
1 parent
f3224a60e1
commit
3b07090682
9 files changed
+223
-82
No files matched your search
+3
-3
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user