From b825eebd9de4cb4629ae339b44fcdf0b28e8e4d0 Mon Sep 17 00:00:00 2001 From: LagoLunatic Date: Thu, 4 Jul 2024 13:25:42 -0400 Subject: [PATCH] Fix JPN build --- include/d/d_com_inf_game.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/d/d_com_inf_game.h b/include/d/d_com_inf_game.h index 7ae882a04..59a00d992 100644 --- a/include/d/d_com_inf_game.h +++ b/include/d/d_com_inf_game.h @@ -449,10 +449,12 @@ public: inline u8 getNowVibration() { return mNowVibration; } inline void setNowVibration(u8 vibration) { mNowVibration = vibration; } +#if VERSION != VERSION_JPN // Inline name is fake (not present in JP debug maps), but was guessed based on the similar // dSv_player_config_c::getPalLanguage() const inline in TP debug. inline u8 getPalLanguage() { return mPalLanguage; } inline void setPalLanguage(u8 lang) { mPalLanguage = lang; } +#endif void setMsgArchive(JKRArchive * pArc) { mpMsgArchive = pArc; } void setDmsgArchive(JKRArchive * pArc) { mpDmsgArchive = pArc; } @@ -2529,16 +2531,17 @@ inline void dComIfGp_setNowVibration(u8 vibration) { g_dComIfG_gameInfo.play.setNowVibration(vibration); } +#if VERSION != VERSION_JPN // Inline name is fake (not present in JP debug maps), but was guessed based on the similar // dComIfGs_getPalLanguage inline in TP debug. inline u8 dComIfGp_getPalLanguage() { return g_dComIfG_gameInfo.play.getPalLanguage(); } - // Inline name is fake (not present in JP debug maps). inline void dComIfGp_setPalLanguage(u8 lang) { g_dComIfG_gameInfo.play.setPalLanguage(lang); } +#endif inline void dComIfGp_2dShowOn() { g_dComIfG_gameInfo.play.show2dOn();