fix discordrpc in EU
This commit is contained in:
parent
cb9bd73866
commit
1ba31e1266
|
@ -54,6 +54,7 @@ static s16 lastCourseNum = -1;
|
||||||
static s16 lastActNum = -1;
|
static s16 lastActNum = -1;
|
||||||
|
|
||||||
#ifdef VERSION_EU
|
#ifdef VERSION_EU
|
||||||
|
#include "eu_translation.h"
|
||||||
extern s32 gInGameLanguage;
|
extern s32 gInGameLanguage;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -159,13 +160,13 @@ static void set_details(void) {
|
||||||
courseNameTbl = segmented_to_virtual(seg2_course_name_table);
|
courseNameTbl = segmented_to_virtual(seg2_course_name_table);
|
||||||
#else
|
#else
|
||||||
switch (gInGameLanguage) {
|
switch (gInGameLanguage) {
|
||||||
case LANGUAGE_ENGLISH:
|
case LANG_ENGLISH:
|
||||||
courseNameTbl = segmented_to_virtual(course_name_table_eu_en);
|
courseNameTbl = segmented_to_virtual(course_name_table_eu_en);
|
||||||
break;
|
break;
|
||||||
case LANGUAGE_FRENCH:
|
case LANG_FRENCH:
|
||||||
courseNameTbl = segmented_to_virtual(course_name_table_eu_fr);
|
courseNameTbl = segmented_to_virtual(course_name_table_eu_fr);
|
||||||
break;
|
break;
|
||||||
case LANGUAGE_GERMAN:
|
case LANG_GERMAN:
|
||||||
courseNameTbl = segmented_to_virtual(course_name_table_eu_de);
|
courseNameTbl = segmented_to_virtual(course_name_table_eu_de);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -192,13 +193,13 @@ static void set_state(void) {
|
||||||
actNameTbl = segmented_to_virtual(seg2_act_name_table);
|
actNameTbl = segmented_to_virtual(seg2_act_name_table);
|
||||||
#else
|
#else
|
||||||
switch (gInGameLanguage) {
|
switch (gInGameLanguage) {
|
||||||
case LANGUAGE_ENGLISH:
|
case LANG_ENGLISH:
|
||||||
actNameTbl = segmented_to_virtual(act_name_table_eu_en);
|
actNameTbl = segmented_to_virtual(act_name_table_eu_en);
|
||||||
break;
|
break;
|
||||||
case LANGUAGE_FRENCH:
|
case LANG_FRENCH:
|
||||||
actNameTbl = segmented_to_virtual(act_name_table_eu_fr);
|
actNameTbl = segmented_to_virtual(act_name_table_eu_fr);
|
||||||
break;
|
break;
|
||||||
case LANGUAGE_GERMAN:
|
case LANG_GERMAN:
|
||||||
actNameTbl = segmented_to_virtual(act_name_table_eu_de);
|
actNameTbl = segmented_to_virtual(act_name_table_eu_de);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue