mirror of
https://github.com/switchbrew/nx-hbloader.git
synced 2025-06-21 13:32:40 +02:00
nroEntrypointTrampoline: Fix g_lastRet write size access bug
This commit is contained in:
parent
104e0fb0b3
commit
00942640a5
@ -21,8 +21,7 @@ nroEntrypointTrampoline:
|
|||||||
|
|
||||||
// Save retval
|
// Save retval
|
||||||
adrp x1, g_lastRet
|
adrp x1, g_lastRet
|
||||||
add x1, x1, #:lo12:g_lastRet
|
str w0, [x1, #:lo12:g_lastRet]
|
||||||
str x0, [x1]
|
|
||||||
|
|
||||||
// Reset stack pointer and load next NRO.
|
// Reset stack pointer and load next NRO.
|
||||||
adrp x8, __stack_top
|
adrp x8, __stack_top
|
||||||
|
Loading…
Reference in New Issue
Block a user