nroEntrypointTrampoline: Fix g_lastRet write size access bug

This commit is contained in:
fincs 2019-07-29 17:11:38 +02:00
parent 104e0fb0b3
commit 00942640a5

View File

@ -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