mirror of
https://github.com/pret/pokered.git
synced 2024-10-22 22:55:31 +00:00
Update rgbdscheck.asm
Hard-code the version string in the failure message so it won't be in hex
This commit is contained in:
parent
fc3bbc1358
commit
f16f53096b
1 changed files with 7 additions and 5 deletions
|
@ -1,12 +1,14 @@
|
|||
; pokered requires rgbds 0.4.1 or newer.
|
||||
; pokered requires rgbds 0.4.2 or newer.
|
||||
MAJOR EQU 0
|
||||
MINOR EQU 4
|
||||
PATCH EQU 1
|
||||
PATCH EQU 2
|
||||
|
||||
IF !DEF(__RGBDS_MAJOR__) || !DEF(__RGBDS_MINOR__) || !DEF(__RGBDS_PATCH__)
|
||||
fail "pokered requires rgbds {MAJOR}.{MINOR}.{PATCH} or newer."
|
||||
ELIF (__RGBDS_MAJOR__ < MAJOR) || \
|
||||
fail "pokered requires rgbds 0.4.2 or newer."
|
||||
ELSE
|
||||
IF (__RGBDS_MAJOR__ < MAJOR) || \
|
||||
(__RGBDS_MAJOR__ == MAJOR && __RGBDS_MINOR__ < MINOR) || \
|
||||
(__RGBDS_MAJOR__ == MAJOR && __RGBDS_MINOR__ == MINOR && __RGBDS_PATCH__ < PATCH)
|
||||
fail "pokered requires rgbds {MAJOR}.{MINOR}.{PATCH} or newer."
|
||||
fail "pokered requires rgbds 0.4.2 or newer."
|
||||
ENDC
|
||||
ENDC
|
||||
|
|
Loading…
Reference in a new issue