call SaveGlobalPreferences

This commit is contained in:
4am 2019-01-03 21:01:55 -05:00
parent 1cd766f8f2
commit 27f2a75b84
2 changed files with 8 additions and 3 deletions

View File

@ -72,6 +72,11 @@ SaveGlobalPreferences
+LDADDR @kEOF
jsr @addString
bit $c010
- lda $c000
bpl -
bit $c010
jsr SaveSmallFile
!word kGlobalPrefsFilename
!word kGlobalPrefsBuffer

View File

@ -72,7 +72,7 @@ gAttractIndex
@nextattract
!word $FDFD ; SMC
; jsr SaveGlobalPreferences ; write prefs store to disk
jsr SaveGlobalPreferences ; write prefs store to disk
jsr okvs_get
!word gAttractModeStore
@ -380,7 +380,7 @@ gFXIndex
!word kNextFX
@nextfx !word $FDFD ; SMC
; jsr SaveGlobalPreferences ; write prefs store to disk
jsr SaveGlobalPreferences ; write prefs store to disk
; load transition effect code at $6000
+LOAD_FILE kFXDirectory, @fxkey
@ -448,7 +448,7 @@ gDFXIndex
!word kNextDFX
@nextdfx !word $FDFD ; SMC
; jsr SaveGlobalPreferences ; write prefs store to disk
jsr SaveGlobalPreferences ; write prefs store to disk
; load transition effect code at $6000
+LOAD_FILE kFXDirectory, @dfxkey