diff --git a/Source/Core/DolphinWX/Config/WiiConfigPane.cpp b/Source/Core/DolphinWX/Config/WiiConfigPane.cpp index 5aef022e6b..d1038d662d 100644 --- a/Source/Core/DolphinWX/Config/WiiConfigPane.cpp +++ b/Source/Core/DolphinWX/Config/WiiConfigPane.cpp @@ -164,8 +164,8 @@ u8 WiiConfigPane::GetSADRCountryCode(DiscIO::IVolume::ELanguage language) return 157; // China case DiscIO::IVolume::LANGUAGE_KOREAN: return 136; // Korea + default: + PanicAlert("Invalid language"); + return 1; } - - PanicAlert("Invalid language"); - return 1; }