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:
Unknown W. Brackets 2021-09-11 07:36:02 -07:00
parent 906664b9d8
commit bcc4c3d8fa

View file

@ -95,6 +95,7 @@
#include "Core/HLE/sceUsbCam.h"
#include "Core/HLE/sceUsbGps.h"
#include "Core/HLE/proAdhoc.h"
#include "Core/HW/MemoryStick.h"
#include "Core/Util/GameManager.h"
#include "Core/Util/AudioFormat.h"
#include "Core/WebServer.h"
@ -1260,6 +1261,10 @@ void HandleGlobalMessage(const std::string &msg, const std::string &value) {
PostLoadConfig();
g_Config.iGPUBackend = gpuBackend;
}
if (msg == "app_resumed" || msg == "got_focus") {
// Assume that the user may have modified things.
MemoryStick_NotifyWrite();
}
}
void NativeUpdate() {