diff options
| author | robojumper <robojumper@gmail.com> | 2024-09-28 18:25:18 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-28 12:25:18 -0400 |
| commit | fe1c06e056e3c9cfe96edd44af7a879175005f27 (patch) | |
| tree | 147564c296bd46a0add173563ed5c9a6879313aa /src/d/d_font_manager.cpp | |
| parent | 392145bf3d3f6f2b60fc1856735e5081b7e86cc8 (diff) | |
Import Ghidra symbols (#41)
* Import Ghidra symbols, main dol edition
* Ghidra symbols, RELs edition
Diffstat (limited to 'src/d/d_font_manager.cpp')
| -rw-r--r-- | src/d/d_font_manager.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/d/d_font_manager.cpp b/src/d/d_font_manager.cpp index 32f9a558..d258b186 100644 --- a/src/d/d_font_manager.cpp +++ b/src/d/d_font_manager.cpp @@ -45,15 +45,14 @@ void dFontMng_c::setFontFile(int idx, void *fileData) { l_dFontMng_obj[idx].mpFileData = fileData; } -// getUsedLanguageString -extern "C" const char *fn_801B2DB0(); +extern "C" const char *getUsedLanguageString(); const char *dFontMng_c::getFontPath(u8 idx) { static SizedString<128> TEMP_FONT_NAME; if (idx == 2) { TEMP_FONT_NAME.sprintf("/Font/%s", systemFonts[idx]); } else { - TEMP_FONT_NAME.sprintf("/US/Font/%s/%s", fn_801B2DB0(), systemFonts[idx]); + TEMP_FONT_NAME.sprintf("/US/Font/%s/%s", getUsedLanguageString(), systemFonts[idx]); } return &TEMP_FONT_NAME; } |
