diff options
| author | hev7 <143887945+hev7@users.noreply.github.com> | 2025-10-18 00:46:07 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-17 16:46:07 -0700 |
| commit | 962728ce4490dd3209a62dbb31b9625b794bbca7 (patch) | |
| tree | 2f6930edffaa437fe9cf6189423f1b410c4cb251 /src/d/d_msg_unit.cpp | |
| parent | 9e3d96843578cb53b254dd1a61e258d201bff1cb (diff) | |
d_name work for PAL (#2742)
* d_name work for PAL
* Fix regressions
Diffstat (limited to 'src/d/d_msg_unit.cpp')
| -rw-r--r-- | src/d/d_msg_unit.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/d/d_msg_unit.cpp b/src/d/d_msg_unit.cpp index 8c41510167..ff03c960fd 100644 --- a/src/d/d_msg_unit.cpp +++ b/src/d/d_msg_unit.cpp @@ -122,13 +122,19 @@ void dMsgUnit_c::setTag(int i_type, int i_value, char* o_buffer, bool param_4) { const char* uVar5; if (i_value == 1 #ifdef DEBUG - || (dComIfGs_getPalLanguage() == 3 && i_value == 0) + || (dComIfGs_getPalLanguage() == dSv_player_config_c::LANGAUGE_SPANISH && i_value == 0) + #elif VERSION == VERSION_GCN_PAL + || (dComIfGs_getPalLanguage() == dSv_player_config_c::LANGAUGE_FRENCH && i_value == 0) #endif ) { #ifdef DEBUG uVar5 = entriesStr + endFrame; } else { uVar5 = entriesStr + startFrame; + #elif VERSION == VERSION_GCN_PAL + uVar5 = pStrAttributeBlock->entries->str + startFrame; + } else { + uVar5 = pStrAttributeBlock->entries->str + endFrame; #else uVar5 = pStrAttributeBlock->entries->str + endFrame; } else { |
