Change version defines to use ?= operator
Now these defines can be set via CLI, otherwise will be what they are in the file
This commit is contained in:
@@ -28,8 +28,8 @@ org $1FFFF8 ; <- FFFF8 timestamp rom
|
||||
db #$20, #$19, #$08, #$31 ; year/month/day
|
||||
|
||||
;================================================================================
|
||||
!ROM_VERSION_LOW = 1 ; ROM version (two 16-bit integers)
|
||||
!ROM_VERSION_HIGH = 1 ;
|
||||
!ROM_VERSION_LOW ?= 1 ; ROM version (two 16-bit integers)
|
||||
!ROM_VERSION_HIGH ?= 1 ;
|
||||
|
||||
org $00FFE0 ; Unused hardware vector
|
||||
RomVersion:
|
||||
|
||||
Reference in New Issue
Block a user