load prelaunch index into clobber-able address

fixes https://github.com/a2-4am/4cade/issues/431
This commit is contained in:
4am 2021-11-11 01:02:54 -05:00
parent 48d6c3fad2
commit d83e5dfe30

View File

@ -127,10 +127,10 @@ PlayGameInAY
jsr ClearScreens ; avoid seeing code load into the HGR page jsr ClearScreens ; avoid seeing code load into the HGR page
; (clobbers $106, must do now before loading prelaunch code) ; (clobbers $106, must do now before loading prelaunch code)
jsr LoadFile ; load prelaunch index file into $6000 jsr LoadFile ; load prelaunch index file
!word kRootDirectory !word kRootDirectory
!word kPrelaunchIndexFile !word kPrelaunchIndexFile
- !word $6000 - !word gSearchCache
jsr okvs_find jsr okvs_find
!word - !word -