mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-26 01:40:24 +00:00
Let's actually call Init/Shutdown in CoreTiming.
This commit is contained in:
parent
e635be5797
commit
65568b54b6
@ -65,6 +65,8 @@ bool PSP_Init(const CoreParameter &coreParam, std::string *error_string)
|
||||
LogManager::GetInstance()->SetEnable(LogTypes::G3D, false);
|
||||
}
|
||||
|
||||
CoreTiming::Init();
|
||||
|
||||
// Init all the HLE modules
|
||||
HLEInit();
|
||||
|
||||
@ -73,8 +75,7 @@ bool PSP_Init(const CoreParameter &coreParam, std::string *error_string)
|
||||
if (!LoadFile(coreParameter.fileToStart.c_str(), error_string))
|
||||
{
|
||||
pspFileSystem.Shutdown();
|
||||
CoreTiming::ClearPendingEvents();
|
||||
CoreTiming::UnregisterAllEvents();
|
||||
CoreTiming::Shutdown();
|
||||
__KernelShutdown();
|
||||
HLEShutdown();
|
||||
host->ShutdownSound();
|
||||
@ -102,8 +103,7 @@ void PSP_Shutdown()
|
||||
|
||||
TextureCache_Clear(true);
|
||||
|
||||
CoreTiming::ClearPendingEvents();
|
||||
CoreTiming::UnregisterAllEvents();
|
||||
CoreTiming::Shutdown();
|
||||
|
||||
if (coreParameter.enableSound)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user