mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Move Achievements::Shutdown to PSP_Shutdown
This commit is contained in:
parent
36d26613d3
commit
5245a691ca
2 changed files with 2 additions and 1 deletions
|
@ -545,6 +545,8 @@ bool PSP_IsQuitting() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void PSP_Shutdown() {
|
void PSP_Shutdown() {
|
||||||
|
Achievements::UnloadGame();
|
||||||
|
|
||||||
// Do nothing if we never inited.
|
// Do nothing if we never inited.
|
||||||
if (!pspIsInited && !pspIsIniting && !pspIsQuitting) {
|
if (!pspIsInited && !pspIsIniting && !pspIsQuitting) {
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -405,7 +405,6 @@ void EmuScreen::bootComplete() {
|
||||||
|
|
||||||
EmuScreen::~EmuScreen() {
|
EmuScreen::~EmuScreen() {
|
||||||
// If we were invalid, it would already be shutdown.
|
// If we were invalid, it would already be shutdown.
|
||||||
Achievements::UnloadGame();
|
|
||||||
if (!invalid_ || bootPending_) {
|
if (!invalid_ || bootPending_) {
|
||||||
PSP_Shutdown();
|
PSP_Shutdown();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue