From b5bb445f21fb2bd7fbb8efce34e3de356e48e817 Mon Sep 17 00:00:00 2001 From: JosJuice Date: Sat, 15 Sep 2018 17:27:56 +0200 Subject: [PATCH] Include the Korean Wii Shop Channel when checking default credentials --- Source/Core/Core/CommonTitles.h | 2 ++ Source/Core/Core/IOS/ES/ES.cpp | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Source/Core/Core/CommonTitles.h b/Source/Core/Core/CommonTitles.h index 3ed6176e2f..f5bd9e9763 100644 --- a/Source/Core/Core/CommonTitles.h +++ b/Source/Core/Core/CommonTitles.h @@ -14,6 +14,8 @@ constexpr u64 SYSTEM_MENU = 0x0000000100000002; constexpr u64 SHOP = 0x0001000248414241; +constexpr u64 KOREAN_SHOP = 0x000100024841424b; + constexpr u64 IOS(u32 major_version) { return 0x0000000100000000 | major_version; diff --git a/Source/Core/Core/IOS/ES/ES.cpp b/Source/Core/Core/IOS/ES/ES.cpp index 94b8c7e585..8d1f9a9898 100644 --- a/Source/Core/Core/IOS/ES/ES.cpp +++ b/Source/Core/Core/IOS/ES/ES.cpp @@ -209,7 +209,8 @@ bool ES::LaunchTitle(u64 title_id, bool skip_reload) NOTICE_LOG(IOS_ES, "Launching title %016" PRIx64 "...", title_id); - if (title_id == Titles::SHOP && m_ios.GetIOSC().IsUsingDefaultId()) + if ((title_id == Titles::SHOP || title_id == Titles::KOREAN_SHOP) && + m_ios.GetIOSC().IsUsingDefaultId()) { ERROR_LOG(IOS_ES, "Refusing to launch the shop channel with default device credentials"); CriticalAlertT("You cannot use the Wii Shop Channel without using your own device credentials."