mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-11-10 23:40:59 +13: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,12 +1,14 @@
|
||||||
; pokered requires rgbds 0.4.1 or newer.
|
; pokered requires rgbds 0.4.2 or newer.
|
||||||
MAJOR EQU 0
|
MAJOR EQU 0
|
||||||
MINOR EQU 4
|
MINOR EQU 4
|
||||||
PATCH EQU 1
|
PATCH EQU 2
|
||||||
|
|
||||||
IF !DEF(__RGBDS_MAJOR__) || !DEF(__RGBDS_MINOR__) || !DEF(__RGBDS_PATCH__)
|
IF !DEF(__RGBDS_MAJOR__) || !DEF(__RGBDS_MINOR__) || !DEF(__RGBDS_PATCH__)
|
||||||
fail "pokered requires rgbds {MAJOR}.{MINOR}.{PATCH} or newer."
|
fail "pokered requires rgbds 0.4.2 or newer."
|
||||||
ELIF (__RGBDS_MAJOR__ < MAJOR) || \
|
ELSE
|
||||||
|
IF (__RGBDS_MAJOR__ < MAJOR) || \
|
||||||
(__RGBDS_MAJOR__ == MAJOR && __RGBDS_MINOR__ < MINOR) || \
|
(__RGBDS_MAJOR__ == MAJOR && __RGBDS_MINOR__ < MINOR) || \
|
||||||
(__RGBDS_MAJOR__ == MAJOR && __RGBDS_MINOR__ == MINOR && __RGBDS_PATCH__ < PATCH)
|
(__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
|
ENDC
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue