This commit is contained in:
4am 2018-03-28 10:44:47 -04:00
parent 5e15db31ae
commit d7e285bb8a
1 changed files with 6 additions and 3 deletions

View File

@ -105,8 +105,11 @@ LoadGameInfo
dex
bpl .convertSectionNoInc
jsr ParseKeyValueText ; parse [versions] section into versions store
!word gVersionsStore
; We are done converting the game info file.
; Now handle the individual sections that require further parsing.
jsr ParseKeyValueText ; parse [versions] section into gVersionsStore
!word gVersionsStore ; (this handle was initialized in LoadGlobalPreferences)
!word addrVersions
!byte 0
@ -115,7 +118,7 @@ LoadGameInfo
lda SRC+1
sta gOptionsStore+1
jsr ParseKeyValueText ; parse [options] section into options store
jsr ParseKeyValueText ; parse [options] section into gOptionsStore
!word gOptionsStore
!word addrOptions
!byte 0