mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-27 00:03:37 +01:00
Remove category from _assert_msg_ functions. We don't filter these by category anyway.
Fixes the inconsistency where we _assert_ didn't take a category but _assert_msg_ did.
This commit is contained in:
1 parent
31fada55e6
commit
c5e0b799d9
99 files changed
+1007
-1015
No files matched your search
+2
-2
@@ -285,7 +285,7 @@ void Init() {
|
||||
// On some 32 bit platforms, you can only map < 32 megs at a time.
|
||||
// TODO: Wait, wtf? What platforms are those? This seems bad.
|
||||
const static int MAX_MMAP_SIZE = 31 * 1024 * 1024;
|
||||
_dbg_assert_msg_(MEMMAP, g_MemorySize < MAX_MMAP_SIZE * 3, "ACK - too much memory for three mmap views.");
|
||||
_dbg_assert_msg_(g_MemorySize < MAX_MMAP_SIZE * 3, "ACK - too much memory for three mmap views.");
|
||||
for (size_t i = 0; i < ARRAY_SIZE(views); i++) {
|
||||
if (views[i].flags & MV_IS_PRIMARY_RAM)
|
||||
views[i].size = std::min((int)g_MemorySize, MAX_MMAP_SIZE);
|
||||
@@ -304,7 +304,7 @@ void Init() {
|
||||
}
|
||||
|
||||
void Reinit() {
|
||||
_assert_msg_(SYSTEM, PSP_IsInited(), "Cannot reinit during startup/shutdown");
|
||||
_assert_msg_(PSP_IsInited(), "Cannot reinit during startup/shutdown");
|
||||
Core_NotifyLifecycle(CoreLifecycle::MEMORY_REINITING);
|
||||
Shutdown();
|
||||
Init();
|
||||
|
||||
Reference in new issue
Block a user