Skip to content

Commit

Permalink
Correct the string count by one
Browse files Browse the repository at this point in the history
  • Loading branch information
szapp committed Feb 6, 2021
1 parent 0f6c6dc commit ea3aa9b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/func/armParser.asm
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ ninja_armParser:
push ecx
call _atol ; Attempt to convert to integer
add esp, 0x4
inc eax ; Index of latest string + 1

mov esi, DWORD [zCParser__cur_parser] ; Compare to zCParser.stringcount
mov ecx, [esi+zCParser_stringcount_offset]
Expand Down

0 comments on commit ea3aa9b

Please sign in to comment.