Skip to content

Commit

Permalink
Provide additional divider symbol at end
Browse files Browse the repository at this point in the history
  • Loading branch information
szapp committed Feb 26, 2021
1 parent ea3aa9b commit 6a0d9ef
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/data/symbols.asm
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ keep_int_symbol_start db 'BLOODSPLAT_NUM', 0

; Ninja helper symbols
char_ndivider_symb db 'NINJA_SYMBOLS_START', 0
char_ndivider2_symb db 'NINJA_SYMBOLS_END', 0
char_nversion_symb db 'NINJA_VERSION', 0
char_narray_symb db 'NINJA_PATCHES', 0
char_modname_symb db 'NINJA_MODNAME', 0
6 changes: 6 additions & 0 deletions src/func/armParser.asm
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,12 @@ ninja_armParser:
call ninja_dispatch
addStack 3*4

reportToSpy NINJA_SYMBOL_ADD_DIV
push zPAR_TYPE_INSTANCE
push char_ndivider2_symb
call ninja_createSymbol
addStack 2*4

pop eax
mov DWORD [zCParser__enableParsing], eax

Expand Down

0 comments on commit 6a0d9ef

Please sign in to comment.