mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-18 03:31:31 +12:00
Make unknown memory operations warn instead of panic
This commit is contained in:
parent
829ff6a123
commit
8b0a3e372e
1 changed files with 2 additions and 2 deletions
|
@ -87,7 +87,7 @@ void Kernel::controlMemory() {
|
||||||
Helpers::warn("Ignoring mprotect! Hope nothing goes wrong but if the game accesses invalid memory or crashes then we prolly need to implement this\n");
|
Helpers::warn("Ignoring mprotect! Hope nothing goes wrong but if the game accesses invalid memory or crashes then we prolly need to implement this\n");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default: Helpers::panic("ControlMemory: unknown operation %X\n", operation);
|
default: Helpers::warn("ControlMemory: unknown operation %X\n", operation); break;
|
||||||
}
|
}
|
||||||
|
|
||||||
regs[0] = Result::Success;
|
regs[0] = Result::Success;
|
||||||
|
@ -201,4 +201,4 @@ void Kernel::createMemoryBlock() {
|
||||||
|
|
||||||
regs[0] = Result::Success;
|
regs[0] = Result::Success;
|
||||||
regs[1] = makeMemoryBlock(addr, size, myPermission, otherPermission);
|
regs[1] = makeMemoryBlock(addr, size, myPermission, otherPermission);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue