fix off-by-1 when removing header in hf_mfu_amiibo_restore

This commit is contained in:
George Talusan 2023-01-09 10:35:15 -05:00
parent f2185b3933
commit 90b1cb7954
No known key found for this signature in database
GPG key ID: 196D8B6E5C6E2A34

View file

@ -105,7 +105,7 @@ local function main(args)
-- chomp emu header
if #hex == 1192 then
hex = hex:sub(112)
hex = hex:sub(113)
end
local amiibo_offset = 0