Make unknown memory operations warn instead of panic
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user