From 532fdada966c2e374216f162223c1059f16e1d2d Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Fri, 14 Dec 2012 11:37:26 -0600 Subject: [PATCH] Adds the Wii Korean settings file. It was handled in the wii-network branch in rev c42a6f156e2c. Master handles the settings files differently. Until wii-network merges in to master, this closes issue 5642. --- Data/Sys/Wii/setting-kor.txt | Bin 0 -> 256 bytes Source/Core/Common/Src/CommonPaths.h | 1 + Source/Core/Core/Src/Boot/Boot_BS2Emu.cpp | 4 +++- 3 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 Data/Sys/Wii/setting-kor.txt diff --git a/Data/Sys/Wii/setting-kor.txt b/Data/Sys/Wii/setting-kor.txt new file mode 100644 index 0000000000000000000000000000000000000000..8c0485555498314da6e852416b9bf1cdce02578c GIT binary patch literal 256 zcmdnJY|W%ute3Ov-Zo#VH(vPsx$W%c+-~=y6Moo!+f=%1^}drg@2zD%Q)PYY-%}og z)$?~GPI)N#&wJs7|4CQhSgqN-_2iAm)63TLyI%S`!BAnzybmg`9&o-eeQ@!E-lShn MTi1X8$1tb?07>;b#{d8T literal 0 HcmV?d00001 diff --git a/Source/Core/Common/Src/CommonPaths.h b/Source/Core/Common/Src/CommonPaths.h index decf2aef97..430a0c0cd8 100644 --- a/Source/Core/Common/Src/CommonPaths.h +++ b/Source/Core/Common/Src/CommonPaths.h @@ -128,6 +128,7 @@ #define WII_EUR_SETTING "setting-eur.txt" #define WII_USA_SETTING "setting-usa.txt" #define WII_JAP_SETTING "setting-jpn.txt" +#define WII_KOR_SETTING "setting-kor.txt" #define GECKO_CODE_HANDLER "codehandler.bin" diff --git a/Source/Core/Core/Src/Boot/Boot_BS2Emu.cpp b/Source/Core/Core/Src/Boot/Boot_BS2Emu.cpp index 788b8c317c..bd789fa82b 100644 --- a/Source/Core/Core/Src/Boot/Boot_BS2Emu.cpp +++ b/Source/Core/Core/Src/Boot/Boot_BS2Emu.cpp @@ -187,8 +187,10 @@ bool CBoot::SetupWiiMemory(unsigned int _CountryCode) switch((DiscIO::IVolume::ECountry)_CountryCode) { case DiscIO::IVolume::COUNTRY_KOREA: + region_filename = File::GetSysDirectory() + WII_SYS_DIR + DIR_SEP + WII_KOR_SETTING; + break; case DiscIO::IVolume::COUNTRY_TAIWAN: - // TODO: Determine if Korea / Taiwan have their own specific settings. + // TODO: Determine if Taiwan has their own specific settings. case DiscIO::IVolume::COUNTRY_JAPAN: region_filename = File::GetSysDirectory() + WII_SYS_DIR + DIR_SEP + WII_JAP_SETTING; break;