Update files

This commit is contained in:
Alex
2022-10-27 03:24:08 +03:00
parent 305168a593
commit 33f95cb427
6 changed files with 10 additions and 13 deletions

View File

@ -74,8 +74,7 @@ namespace Memory
}
error("Out of memory! (Free: %ldMB; Used: %ldMB; Reserved: %ldMB)", TO_MB(FreeMemory), TO_MB(UsedMemory), TO_MB(ReservedMemory));
while (1)
CPU::Halt();
CPU::Halt(true);
return nullptr;
}
@ -112,8 +111,7 @@ namespace Memory
}
error("Out of memory! (Free: %ldMB; Used: %ldMB; Reserved: %ldMB)", TO_MB(FreeMemory), TO_MB(UsedMemory), TO_MB(ReservedMemory));
while (1)
CPU::Halt();
CPU::Halt(true);
return nullptr;
}