summaryrefslogtreecommitdiff
path: root/include/JSystem/JUtility
diff options
context:
space:
mode:
authorTakaRikka <38417346+TakaRikka@users.noreply.github.com>2024-11-12 02:41:55 -0800
committerGitHub <noreply@github.com>2024-11-12 05:41:55 -0500
commitebd7e3feed369cc482ec7b5f537c4d363f81eb60 (patch)
tree9b7ed830aeff3a3af912df33efdb56d90c3cff8b /include/JSystem/JUtility
parentf2a7b2a83a8976076eaf13d5754e6096a5887f24 (diff)
d_error_msg mostly done, little Z2LinkMgr work (#2248)
Diffstat (limited to 'include/JSystem/JUtility')
-rw-r--r--include/JSystem/JUtility/JUTFont.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/JSystem/JUtility/JUTFont.h b/include/JSystem/JUtility/JUTFont.h
index ec7c7a1099..310148f42f 100644
--- a/include/JSystem/JUtility/JUTFont.h
+++ b/include/JSystem/JUtility/JUTFont.h
@@ -100,6 +100,9 @@ public:
static bool isLeadByte_ShiftJIS(int b) {
return (b >= 0x81 && b <= 0x9f) || (b >= 0xe0 && b <= 0xfc);
}
+ static bool isLeadByte_EUC(int b) {
+ return (b >= 0xA1 && b <= 0xFE) || b == 0x8E;
+ }
void initialize_state();
void setCharColor(JUtility::TColor col1);