marioparty4/include/version.h
dbalatoni13 3b50a4bdb7 Split Japanese DOL till saveload.c
Renamed VERSION_JAP to VERSION_JPN because it might be offensive for some
2024-11-26 16:48:31 +01:00

24 lines
644 B
C

#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_JPN (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)
#if VERSION_PAL
#define REFRESH_RATE 50
#else
#define REFRESH_RATE 60
#endif
#endif