Demote inVaddr panic to warning for home menu

This commit is contained in:
wheremyfoodat
2025-08-29 00:45:08 +03:00
committed by GitHub
parent 78002be334
commit ff561d66a2

View File

@@ -447,7 +447,7 @@ bool Memory::allocMemory(u32 vaddr, s32 pages, FcramRegion region, bool r, bool
} }
bool Memory::allocMemoryLinear(u32& outVaddr, u32 inVaddr, s32 pages, FcramRegion region, bool r, bool w, bool x) { bool Memory::allocMemoryLinear(u32& outVaddr, u32 inVaddr, s32 pages, FcramRegion region, bool r, bool w, bool x) {
if (inVaddr) Helpers::panic("inVaddr specified for linear allocation!"); if (inVaddr) Helpers::warn("inVaddr specified for linear allocation!");
FcramBlockList memList; FcramBlockList memList;
fcramManager.alloc(memList, pages, region, true); fcramManager.alloc(memList, pages, region, true);
@@ -631,4 +631,4 @@ std::optional<u64> Memory::getProgramID() {
} }
return std::nullopt; return std::nullopt;
} }