mirror of
https://github.com/libretro/ppsspp.git
synced 2024-12-02 06:06:24 +00:00
commit
8f5c5df82f
@ -122,7 +122,7 @@ public:
|
|||||||
|
|
||||||
u32 pc;
|
u32 pc;
|
||||||
u32 nextPC;
|
u32 nextPC;
|
||||||
u32 downcount; // This really doesn't belong here, it belongs in CoreTiming. But you gotta do what you gotta do, this needs to be reachable in the ARM JIT.
|
int downcount; // This really doesn't belong here, it belongs in CoreTiming. But you gotta do what you gotta do, this needs to be reachable in the ARM JIT.
|
||||||
|
|
||||||
u32 hi;
|
u32 hi;
|
||||||
u32 lo;
|
u32 lo;
|
||||||
|
@ -65,6 +65,8 @@ bool PSP_Init(const CoreParameter &coreParam, std::string *error_string)
|
|||||||
LogManager::GetInstance()->SetEnable(LogTypes::G3D, false);
|
LogManager::GetInstance()->SetEnable(LogTypes::G3D, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CoreTiming::Init();
|
||||||
|
|
||||||
// Init all the HLE modules
|
// Init all the HLE modules
|
||||||
HLEInit();
|
HLEInit();
|
||||||
|
|
||||||
@ -73,8 +75,7 @@ bool PSP_Init(const CoreParameter &coreParam, std::string *error_string)
|
|||||||
if (!LoadFile(coreParameter.fileToStart.c_str(), error_string))
|
if (!LoadFile(coreParameter.fileToStart.c_str(), error_string))
|
||||||
{
|
{
|
||||||
pspFileSystem.Shutdown();
|
pspFileSystem.Shutdown();
|
||||||
CoreTiming::ClearPendingEvents();
|
CoreTiming::Shutdown();
|
||||||
CoreTiming::UnregisterAllEvents();
|
|
||||||
__KernelShutdown();
|
__KernelShutdown();
|
||||||
HLEShutdown();
|
HLEShutdown();
|
||||||
host->ShutdownSound();
|
host->ShutdownSound();
|
||||||
@ -102,8 +103,7 @@ void PSP_Shutdown()
|
|||||||
|
|
||||||
TextureCache_Clear(true);
|
TextureCache_Clear(true);
|
||||||
|
|
||||||
CoreTiming::ClearPendingEvents();
|
CoreTiming::Shutdown();
|
||||||
CoreTiming::UnregisterAllEvents();
|
|
||||||
|
|
||||||
if (coreParameter.enableSound)
|
if (coreParameter.enableSound)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user