mirror of
https://github.com/zeldaret/oot-vc.git
synced 2026-09-26 05:31:58 -04:00
6fee0769e9
* vcmv_cursor OK * format and apply * vcmv 18% * vcmv 33% * code_800838C0 98%, match other sections (vcmv 41%) * vcmv 48% * run dol-apply * format * vcmv_main 22% (vcmv 54%) * vcmv_main 49% (vcmv 62%) * vcmv_main OK (vcmv 76%) * dol-apply and format * code_800838C0 OK (vcmv 90%) * code_800889E8 OK * code_80089308 .text OK, started matching .rodata * vcmv OK for oot-j * format * fix build and revert unwanted configure change * remove existing vcmv splits * match all versions except sm64-j and sm64-u * dol-apply * dol-apply sm64-e * sm64-e fixes * match sm64-j and sm64-u * run dol-apply * run format * self-review
28 lines
654 B
C
28 lines
654 B
C
#ifndef _VERSIONS_H
|
|
#define _VERSIONS_H
|
|
|
|
// The VERSION macro will be set to one of these version numbers.
|
|
#define SM64_J 1
|
|
#define SM64_U 2
|
|
#define SM64_E 3
|
|
#define MK64_J 4
|
|
#define MK64_U 5
|
|
#define MK64_E 6
|
|
#define OOT_J 7
|
|
#define OOT_U 8
|
|
#define OOT_E 9
|
|
|
|
#define REGION_JP (VERSION == SM64_J || VERSION == MK64_J || VERSION == OOT_J)
|
|
#define REGION_US (VERSION == SM64_U || VERSION == MK64_U || VERSION == OOT_U)
|
|
#define REGION_EU (VERSION == SM64_E || VERSION == MK64_E || VERSION == OOT_E)
|
|
|
|
#if VERSION == SM64_J || VERSION == SM64_U
|
|
#define HBM_REVISION 1
|
|
#define VCMV_REVISION 1
|
|
#else
|
|
#define HBM_REVISION 2
|
|
#define VCMV_REVISION 2
|
|
#endif
|
|
|
|
#endif
|