mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-08 07:05:40 +12:00
Change shared memory remap panic to warning
This commit is contained in:
parent
5f25b84c0d
commit
c7f7c173b4
1 changed files with 2 additions and 1 deletions
|
@ -394,7 +394,8 @@ MemoryInfo Memory::queryMemory(u32 vaddr) {
|
|||
u8* Memory::mapSharedMemory(Handle handle, u32 vaddr, u32 myPerms, u32 otherPerms) {
|
||||
for (auto& e : sharedMemBlocks) {
|
||||
if (e.handle == handle) {
|
||||
if (e.mapped) Helpers::panic("Allocated shared memory block twice. Is this allowed?");
|
||||
// Virtual Console titles trigger this. TODO: Investigate how it should work
|
||||
if (e.mapped) Helpers::warn("Allocated shared memory block twice. Is this allowed?");
|
||||
|
||||
const u32 paddr = e.paddr;
|
||||
const u32 size = e.size;
|
||||
|
|
Loading…
Add table
Reference in a new issue