mirror of
https://github.com/switchbrew/nx-hbloader.git
synced 2025-06-20 21:12:39 +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
|
||||
adrp x1, g_lastRet
|
||||
add x1, x1, #:lo12:g_lastRet
|
||||
str x0, [x1]
|
||||
str w0, [x1, #:lo12:g_lastRet]
|
||||
|
||||
// Reset stack pointer and load next NRO.
|
||||
adrp x8, __stack_top
|
||||
|
Loading…
Reference in New Issue
Block a user