Fix svcGetDmaState

Kernel and official app stubs are buggy, as they read 4 bytes when the
enum is only one byte (meaning 3 garbage bytes).
This commit is contained in:
TuxSH 2023-02-06 17:44:12 +00:00
parent 1de86ea38a
commit cb9d682f65

View File

@ -510,7 +510,7 @@ SVC_BEGIN svcGetDmaState
str r0, [sp, #-4]! str r0, [sp, #-4]!
svc 0x57 svc 0x57
ldr r3, [sp], #4 ldr r3, [sp], #4
str r1, [r3] strb r1, [r3]
bx lr bx lr
SVC_END SVC_END