Fix "[ERROR] memory free error!!" message while leaving options menu

This commit is contained in:
Lurs
2026-04-06 22:09:50 +02:00
parent 5d5b1a629d
commit 88f8433767
+4
View File
@@ -1507,7 +1507,11 @@ void dMw_c::checkMemSize() {
OS_REPORT("memory check ===> diff ==> %d, start ==> %d, now ==> %d\n", diff, mMemSize, now_size);
#if TARGET_PC
if (diff > 0x40) {
#else
if (diff > 0x20) {
#endif
OSReport_Error("memory free error!!\n");
}
mMemSize = 0;