replace VERSION_NONE with NULL

This commit is contained in:
iriv24 2025-01-04 22:56:49 -05:00
parent 4b59eea00e
commit 888f52711d
3 changed files with 13 additions and 14 deletions

View File

@ -1,18 +1,17 @@
#ifndef POKEPLATINUM_PM_VERSION_H
#define POKEPLATINUM_PM_VERSION_H
#define VERSION_NONE 0
#define SAPPHIRE 1
#define RUBY 2
#define EMERALD 3
#define FIRERED 4
#define LEAFGREEN 5
#define HEARTGOLD 7
#define SOULSILVER 8
#define DIAMOND 10
#define PEARL 11
#define PLATINUM 12
#define COLOSSEUM 15
#define SAPPHIRE 1
#define RUBY 2
#define EMERALD 3
#define FIRERED 4
#define LEAFGREEN 5
#define HEARTGOLD 7
#define SOULSILVER 8
#define DIAMOND 10
#define PEARL 11
#define PLATINUM 12
#define COLOSSEUM 15
#define JAPANESE 1
#define ENGLISH 2

View File

@ -71,7 +71,7 @@ void NitroMain(void)
InitGraphics();
InitKeypadAndTouchpad();
SetGBACartridgeVersion(VERSION_NONE);
SetGBACartridgeVersion(NULL);
PM_GetBackLight(&sSavedBacklightState, NULL);
sub_0202419C();
InitRTC();

View File

@ -2445,7 +2445,7 @@ static int ov97_022301BC(OverlayManager *param0, int *param1)
Heap_Destroy(86);
if (v0->unk_1638 == 2) {
SetGBACartridgeVersion(VERSION_NONE);
SetGBACartridgeVersion(NULL);
}
ov97_02238400(0);