mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Log args for dispatch/interrupt early-fail.
This commit is contained in:
parent
7814cdced2
commit
baac12b327
1 changed files with 2 additions and 4 deletions
|
@ -456,11 +456,9 @@ inline void CallSyscallWithFlags(const HLEFunction *info)
|
|||
}
|
||||
|
||||
if ((flags & HLE_NOT_DISPATCH_SUSPENDED) && !__KernelIsDispatchEnabled()) {
|
||||
DEBUG_LOG(HLE, "%s: dispatch suspended", info->name);
|
||||
RETURN(SCE_KERNEL_ERROR_CAN_NOT_WAIT);
|
||||
RETURN(hleLogDebug(HLE, SCE_KERNEL_ERROR_CAN_NOT_WAIT, "dispatch suspended"));
|
||||
} else if ((flags & HLE_NOT_IN_INTERRUPT) && __IsInInterrupt()) {
|
||||
DEBUG_LOG(HLE, "%s: in interrupt", info->name);
|
||||
RETURN(SCE_KERNEL_ERROR_ILLEGAL_CONTEXT);
|
||||
RETURN(hleLogDebug(HLE, SCE_KERNEL_ERROR_ILLEGAL_CONTEXT, "in interrupt"));
|
||||
} else {
|
||||
info->func();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue