Implement per-thread current directory

This commit is contained in:
KentuckyCompass committed 2013-01-10 16:18:02 -08:00
1 parent 2f394fb7ed
commit 320c0d06c3
5 files changed
+81 -17

No files matched your search

+2 -2
View File
@@ -64,7 +64,7 @@ bool PSP_Init(const CoreParameter &coreParam, std::string *error_string)
if (!LoadFile(coreParameter.fileToStart.c_str(), error_string))
{
pspFileSystem.UnmountAll();
pspFileSystem.Shutdown();
CoreTiming::ClearPendingEvents();
CoreTiming::UnregisterAllEvents();
__KernelShutdown();
@@ -90,7 +90,7 @@ bool PSP_IsInited()
void PSP_Shutdown()
{
pspFileSystem.UnmountAll();
pspFileSystem.Shutdown();
TextureCache_Clear(true);