Split more
Also introduce version.h header
This commit is contained in:
parent
a4a2b38cd0
commit
4d236bc254
5 changed files with 118 additions and 81 deletions
18
include/version.h
Normal file
18
include/version.h
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#ifndef _VERSION_H
|
||||
#define _VERSION_H
|
||||
|
||||
#define VERSION_NO_ENG0 0
|
||||
#define VERSION_NO_ENG1 1
|
||||
#define VERSION_NO_PAL0 2
|
||||
#define VERSION_NO_PAL2 3
|
||||
#define VERSION_NO_JAP 4
|
||||
|
||||
#define VERSION_ENG (VERSION == VERSION_NO_ENG0 || VERSION == VERSION_NO_ENG1)
|
||||
#define VERSION_PAL (VERSION == VERSION_NO_PAL0 || VERSION == VERSION_NO_PAL2)
|
||||
#define VERSION_JAP (VERSION == VERSION_NO_JAP)
|
||||
#define VERSION_NTSC (!VERSION_PAL)
|
||||
|
||||
#define VERSION_REV0 (VERSION == VERSION_NO_ENG0 || VERSION == VERSION_NO_PAL0 || VERSION == VERSION_NO_JAP)
|
||||
#define VERSION_REV1 (!VERSION_REV0)
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue