mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Io: Assume a write may have happened on resume.
This way if they switch away to delete files, it will have more free space.
This commit is contained in:
parent
906664b9d8
commit
bcc4c3d8fa
1 changed files with 5 additions and 0 deletions
|
@ -95,6 +95,7 @@
|
||||||
#include "Core/HLE/sceUsbCam.h"
|
#include "Core/HLE/sceUsbCam.h"
|
||||||
#include "Core/HLE/sceUsbGps.h"
|
#include "Core/HLE/sceUsbGps.h"
|
||||||
#include "Core/HLE/proAdhoc.h"
|
#include "Core/HLE/proAdhoc.h"
|
||||||
|
#include "Core/HW/MemoryStick.h"
|
||||||
#include "Core/Util/GameManager.h"
|
#include "Core/Util/GameManager.h"
|
||||||
#include "Core/Util/AudioFormat.h"
|
#include "Core/Util/AudioFormat.h"
|
||||||
#include "Core/WebServer.h"
|
#include "Core/WebServer.h"
|
||||||
|
@ -1260,6 +1261,10 @@ void HandleGlobalMessage(const std::string &msg, const std::string &value) {
|
||||||
PostLoadConfig();
|
PostLoadConfig();
|
||||||
g_Config.iGPUBackend = gpuBackend;
|
g_Config.iGPUBackend = gpuBackend;
|
||||||
}
|
}
|
||||||
|
if (msg == "app_resumed" || msg == "got_focus") {
|
||||||
|
// Assume that the user may have modified things.
|
||||||
|
MemoryStick_NotifyWrite();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void NativeUpdate() {
|
void NativeUpdate() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue