mirror of
https://github.com/a2-4am/4cade.git
synced 2024-11-27 08:50:01 +00:00
add games.conf column in anticipation of DHGR titles
This commit is contained in:
parent
871e50a5c1
commit
b2b28f6288
File diff suppressed because one or more lines are too long
@ -53,13 +53,17 @@ ParseGamesList
|
||||
@filterOnMemory
|
||||
jsr IncAndGetChar ; get second filter character ('1' if game requires 128K)
|
||||
cmp #$30 ; '0' -> no filtering on memory
|
||||
beq @parseCheatsAvailable
|
||||
beq @parseDHGRTitle
|
||||
cmp #$31 ; not '0' or '1' -> ignore entire line
|
||||
bne @skipLine
|
||||
bit zpMachineStatus
|
||||
bvc @skipLine ; game requires 128K but we only have 64K, so ignore entire line
|
||||
@parseDHGRTitle
|
||||
jsr IncAndGetChar ; get third character ('1' if game has DHGR title)
|
||||
and #$01
|
||||
pha
|
||||
@parseCheatsAvailable
|
||||
jsr IncAndGetChar ; get third character (cheat category, int)
|
||||
jsr IncAndGetChar ; get fourth character (cheat category, int)
|
||||
and #$0F
|
||||
pha
|
||||
@swallowComma
|
||||
@ -95,6 +99,7 @@ ParseGamesList
|
||||
pla ; pop cheat category
|
||||
dex ; X = new OKVS length - 1
|
||||
sta gCheatsAvailable,x
|
||||
pla ; pop DHGR title
|
||||
clc
|
||||
bcc @newkey ; always branches
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user