diff options
| author | Colin Kinloch <colin.kinloch@collabora.com> | 2022-12-29 14:25:22 +0000 | 
|---|---|---|
| committer | Colin Kinloch <colin.kinloch@collabora.com> | 2022-12-29 15:55:24 +0000 | 
| commit | 8594f287b83006a0aa11dfadbf174e5320873ab3 (patch) | |
| tree | 1a50c92d8bdca6eb7a102bb387a42202fa40ba0e | |
| parent | 2ccf17532456f4480a40fea06e00242d5fd3483c (diff) | |
settings: added regon/language warning bounds check
| -rw-r--r-- | src/yuzu/configuration/configure_system.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/yuzu/configuration/configure_system.cpp b/src/yuzu/configuration/configure_system.cpp index 37a98bea1..13bbc4ad9 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) | 
