Files
st/include/versions.h
T
Yanis 0d066f6447 Add support for USA revision 0 and Europe revision 1 versions (#136)
* add usa

* add eur revision 1

* tools/sha1: refactor to allow checking against multiple checksums

* docs: edit both readme files

* misc: add the new versions to configure.py and add new macros in versions.h

* make eur1 OK

* add `ninja [version]` phony for convenience

for instance, `ninja eur` runs `check_eur sha1_eur report_eur`

* add usa and eur1 to CI and bump version used for steps

this should get rid of the node js warnings in the action logs
2026-08-15 17:21:39 +02:00

17 lines
306 B
C

#pragma once
#define EUR 0
#define JP 1
#define USA 2
#define EUR1 3
#ifndef VERSION
#warning "VERSION is not defined, check configure.py!"
#define VERSION EUR
#endif
#define IS_EUR (VERSION == EUR)
#define IS_EUR1 (VERSION == EUR1)
#define IS_JP (VERSION == JP)
#define IS_USA (VERSION == USA)