mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Don't complain when PPGe wasn't init yet.
This was causing BlockAllocator complaints if you closed right away.
This commit is contained in:
parent
1e68757089
commit
a6a47c0c3e
1 changed files with 9 additions and 4 deletions
|
@ -137,10 +137,15 @@ void __PPGeInit()
|
|||
|
||||
void __PPGeShutdown()
|
||||
{
|
||||
kernelMemory.Free(atlasPtr);
|
||||
kernelMemory.Free(dataPtr);
|
||||
kernelMemory.Free(dlPtr);
|
||||
kernelMemory.Free(savedContextPtr);
|
||||
if (atlasPtr)
|
||||
kernelMemory.Free(atlasPtr);
|
||||
if (dataPtr)
|
||||
kernelMemory.Free(dataPtr);
|
||||
if (dlPtr)
|
||||
kernelMemory.Free(dlPtr);
|
||||
if (savedContextPtr)
|
||||
kernelMemory.Free(savedContextPtr);
|
||||
|
||||
atlasPtr = 0;
|
||||
dataPtr = 0;
|
||||
dlPtr = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue