mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-29 19:04:17 +01:00
Halt execution after unimplemented SVC
This commit is contained in:
parent
3855daa849
commit
113bfd059e
@ -8,8 +8,10 @@ namespace lightSwitch::os {
|
||||
device_state state = *((device_state *) vstate);
|
||||
if (svc::svcTable[svc])
|
||||
(*svc::svcTable[svc])(state);
|
||||
else
|
||||
state.logger->write(Logger::WARN, "Unimplemented SVC 0x{0:x}", svc);
|
||||
else {
|
||||
state.logger->write(Logger::ERROR, "Unimplemented SVC 0x{0:x}", svc);
|
||||
state.cpu->StopExecution();
|
||||
}
|
||||
}
|
||||
|
||||
void OS::HandleSvc(uint16_t svc) {
|
||||
|
Loading…
Reference in New Issue
Block a user