VERY experimental Nintendo Switch 2 emulator
C++
settings: added regon/language warning bounds check
Colin Kinloche7feff53e7a5
diff --git a/src/yuzu/configuration/configure_system.cpp b/src/yuzu/configuration/configure_system.cppindex 37a98bea19..13bbc4ad9b 100644--- a/src/yuzu/configuration/configure_system.cpp+++ b/src/yuzu/configuration/configure_system.cpp@@ -25,7 +25,7 @@ constexpr std::array<u32, 7> LOCALE_BLOCKLIST{};static bool IsValidLocale(u32 region_index, u32 language_index) {- return ((LOCALE_BLOCKLIST[region_index] >> language_index) & 1) == 0;+ return ((LOCALE_BLOCKLIST.at(region_index) >> language_index) & 1) == 0;}ConfigureSystem::ConfigureSystem(Core::System& system_, QWidget* parent)