mirror of
https://github.com/a2-4am/pitch-dark.git
synced 2025-01-06 01:30:48 +00:00
.
This commit is contained in:
parent
614d19919d
commit
31eb965fc8
@ -62,7 +62,7 @@ SaveGlobalPreferences
|
||||
+LDADDR kGlobalPrefsBuffer
|
||||
+STAY $FE
|
||||
|
||||
+LDADDR kFluff1
|
||||
+LDADDR @kFluff1
|
||||
jsr @addString
|
||||
|
||||
jsr @addBooleanFromStore
|
||||
@ -77,20 +77,20 @@ SaveGlobalPreferences
|
||||
jsr @addBooleanFromStore
|
||||
!word kAutoScript
|
||||
|
||||
+LDADDR kFluff2
|
||||
+LDADDR @kFluff2
|
||||
jsr @addString
|
||||
|
||||
jsr @addStringFromStore
|
||||
!word kLastPlayed
|
||||
|
||||
+LDADDR kFluff3
|
||||
+LDADDR @kFluff3
|
||||
jsr @addString
|
||||
|
||||
jsr okvs_iter
|
||||
!word gGamesListStore
|
||||
!word @addGameToPrefs
|
||||
|
||||
+LDADDR kEOF
|
||||
+LDADDR @kEOF
|
||||
jsr @addString
|
||||
|
||||
lda $FE
|
||||
@ -127,7 +127,7 @@ SaveGlobalPreferences
|
||||
+LDPARAM 1
|
||||
+STAY @key
|
||||
jsr @addString
|
||||
+LDADDR kEquals
|
||||
+LDADDR @kEquals
|
||||
jsr @addString
|
||||
jsr okvs_get
|
||||
!word gGlobalPrefsStore
|
||||
@ -141,7 +141,7 @@ SaveGlobalPreferences
|
||||
sta (PTR),y
|
||||
+LDAY PTR
|
||||
+ jsr @addString
|
||||
+LDADDR kLF
|
||||
+LDADDR @kLF
|
||||
jmp @addString
|
||||
|
||||
@addString
|
||||
@ -161,21 +161,21 @@ SaveGlobalPreferences
|
||||
bne -
|
||||
rts
|
||||
|
||||
kEquals !byte 1
|
||||
@kEquals !byte 1
|
||||
!raw "="
|
||||
kLF !byte 1
|
||||
@kLF !byte 1
|
||||
!byte $0D
|
||||
kFluff1 !byte 101
|
||||
@kFluff1 !byte 101
|
||||
!raw "# Pitch Dark preferences file",$0D
|
||||
!raw "# Do not edit by hand.",$0D
|
||||
!raw "# Or do. I'm a comment, not a cop.",$0D,$0D
|
||||
!raw "# value=0|1",$0D
|
||||
kFluff2 !byte 24
|
||||
@kFluff2 !byte 24
|
||||
!byte $0D
|
||||
!raw "# value=game directory",$0D
|
||||
kFluff3 !byte 58
|
||||
@kFluff3 !byte 58
|
||||
!byte $0D
|
||||
!raw "# key=game directory, value=filename of selected version",$0D
|
||||
kEOF !byte 7
|
||||
@kEOF !byte 7
|
||||
!byte $0D
|
||||
!raw "[eof]",$0D
|
||||
|
Loading…
Reference in New Issue
Block a user