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:
parent
1de86ea38a
commit
cb9d682f65
@ -510,7 +510,7 @@ SVC_BEGIN svcGetDmaState
|
||||
str r0, [sp, #-4]!
|
||||
svc 0x57
|
||||
ldr r3, [sp], #4
|
||||
str r1, [r3]
|
||||
strb r1, [r3]
|
||||
bx lr
|
||||
SVC_END
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user