diff options
| author | TakaRikka <38417346+TakaRikka@users.noreply.github.com> | 2024-11-12 02:41:55 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-12 05:41:55 -0500 |
| commit | ebd7e3feed369cc482ec7b5f537c4d363f81eb60 (patch) | |
| tree | 9b7ed830aeff3a3af912df33efdb56d90c3cff8b /include/JSystem/JUtility | |
| parent | f2a7b2a83a8976076eaf13d5754e6096a5887f24 (diff) | |
d_error_msg mostly done, little Z2LinkMgr work (#2248)
Diffstat (limited to 'include/JSystem/JUtility')
| -rw-r--r-- | include/JSystem/JUtility/JUTFont.h | 3 |
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); |
