ldr => ldrb
This commit is contained in:
parent
ef842dda2a
commit
cb398f1e4a
@ -101,7 +101,7 @@ void signalSvcEntry(u32 svcId)
|
||||
KProcess *currentProcess = currentCoreContext->objectContext.currentProcess;
|
||||
|
||||
// Since DBGEVENT_SYSCALL_ENTRY is non blocking, we'll cheat using EXCEVENT_UNDEFINED_SYSCALL (debug->svcId is fortunately an u16!)
|
||||
if(debugOfProcess(currentProcess) != NULL && shouldSignalSyscallDebugEvent(currentProcess, svcId))
|
||||
if(debugOfProcess(currentProcess) != NULL && svcId != 0xFF && shouldSignalSyscallDebugEvent(currentProcess, svcId))
|
||||
SignalDebugEvent(DBGEVENT_OUTPUT_STRING, 0xFFFFFFFE, svcId);
|
||||
}
|
||||
|
||||
@ -110,7 +110,7 @@ void signalSvcReturn(u32 svcId)
|
||||
KProcess *currentProcess = currentCoreContext->objectContext.currentProcess;
|
||||
|
||||
// Since DBGEVENT_SYSCALL_RETURN is non blocking, we'll cheat using EXCEVENT_UNDEFINED_SYSCALL (debug->svcId is fortunately an u16!)
|
||||
if(debugOfProcess(currentProcess) != NULL && shouldSignalSyscallDebugEvent(currentProcess, svcId))
|
||||
if(debugOfProcess(currentProcess) != NULL && svcId != 0xFF && shouldSignalSyscallDebugEvent(currentProcess, svcId))
|
||||
SignalDebugEvent(DBGEVENT_OUTPUT_STRING, 0xFFFFFFFF, svcId);
|
||||
}
|
||||
|
||||
|
@ -85,7 +85,7 @@ svcHandler:
|
||||
add sp, #4
|
||||
|
||||
ldr r10, =svcSignalingEnabled @ should work, I guess
|
||||
ldr r10, [r10]
|
||||
ldrb r10, [r10]
|
||||
cmp r10, #0
|
||||
bne _signal_svc_end @ returns to _no_signal_return
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user