mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-12 13:35:35 -04:00
Fix "[ERROR] memory free error!!" message while leaving options menu
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user