From 67fc17dddff9e54ed75ada086b85c57fe0c1523a Mon Sep 17 00:00:00 2001 From: cooolgamer <64099608+cooolgamer@users.noreply.github.com> Date: Mon, 26 Feb 2024 19:05:52 +0100 Subject: [PATCH] Korean support (#290) * Update themes.c Addes KOR in dump themes * Update fs.c Added Kor support usable with This patch: https://github.com/ZeroSkill1/CTR-Hacking/tree/master/General-Hacking/Korean%20HOME%20Menu%20Theme%20Patch --- source/fs.c | 4 ++++ source/themes.c | 8 +++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/source/fs.c b/source/fs.c index d039c3c..55fba5b 100644 --- a/source/fs.c +++ b/source/fs.c @@ -64,6 +64,10 @@ Result open_archives(void) archive1 = 0x000002ce; archive2 = 0x00000098; break; + case 5: + archive1 = 0x000002cf; + archive2 = 0x000000a9; + break; default: archive1 = 0x00; archive2 = 0x00; diff --git a/source/themes.c b/source/themes.c index 0420ad1..add6d14 100644 --- a/source/themes.c +++ b/source/themes.c @@ -445,15 +445,21 @@ Result dump_all_themes(void) case CFG_REGION_EUR: low_id = 0x00009800; break; + case CFG_REGION_KOR: + low_id = 0x0000a900; + break; default: return -1; } - const char* region_arr[4] = { + const char* region_arr[7] = { "JPN", "USA", "EUR", "AUS", + "CHN", + "KOR", + "TWN", }; const char* language_arr[12] = {