diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2024-07-04 13:19:51 -0400 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2024-07-04 13:19:51 -0400 |
| commit | c3722dbeb526a96f27ff40fcf73cbcf90b4743b2 (patch) | |
| tree | 29293de762bb6d3a24acfabd5093a8ee5ec35037 /src/d/actor/d_a_agb.cpp | |
| parent | ecd91cdf44cefe777924270bfa30c310948a7285 (diff) | |
Add some dCom inlines from TP debug
Diffstat (limited to 'src/d/actor/d_a_agb.cpp')
| -rw-r--r-- | src/d/actor/d_a_agb.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/d/actor/d_a_agb.cpp b/src/d/actor/d_a_agb.cpp index 8fd60345..f9907f47 100644 --- a/src/d/actor/d_a_agb.cpp +++ b/src/d/actor/d_a_agb.cpp @@ -375,7 +375,7 @@ int daAgb_c::uploadSelect() { char path[28]; char pathNum[4]; strcpy(path, "/res/Gba/client_"); - sprintf(pathNum, "%d", g_dComIfG_gameInfo.play.mGameLanguage); + sprintf(pathNum, "%d", dComIfGp_getPalLanguage()); strcat(path, pathNum); strcat(path, ".bin"); l_gbaCommand = mDoDvdThd_toMainRam_c::create(path, 0, dMsg_getAgbWorkArea()); @@ -451,7 +451,7 @@ int daAgb_c::uploadMessageLoad() { char path[28]; char pathNum[4]; strcpy(path, "/res/Gba/msg_LZ"); - sprintf(pathNum, "%d", g_dComIfG_gameInfo.play.mGameLanguage); + sprintf(pathNum, "%d", dComIfGp_getPalLanguage()); strcat(path, pathNum); strcat(path, ".bin"); l_gbaCommand = mDoDvdThd_toMainRam_c::create(path, 0, NULL); |
