VERY experimental Nintendo Switch 2 emulator
C++
controller: Convert led_patterns integer literals to bool literals
Lioncash652c36ef9ccc
diff --git a/src/yuzu/applets/controller.cpp b/src/yuzu/applets/controller.cppindex 9d45f2a01e..8063909ff7 100644--- a/src/yuzu/applets/controller.cpp+++ b/src/yuzu/applets/controller.cpp@@ -18,15 +18,15 @@namespace {-constexpr std::array<std::array<bool, 4>, 8> led_patterns = {{- {1, 0, 0, 0},- {1, 1, 0, 0},- {1, 1, 1, 0},- {1, 1, 1, 1},- {1, 0, 0, 1},- {1, 0, 1, 0},- {1, 0, 1, 1},- {0, 1, 1, 0},+constexpr std::array<std::array<bool, 4>, 8> led_patterns{{+ {true, false, false, false},+ {true, true, false, false},+ {true, true, true, false},+ {true, true, true, true},+ {true, false, false, true},+ {true, false, true, false},+ {true, false, true, true},+ {false, true, true, false},}};void UpdateController(Settings::ControllerType controller_type, std::size_t npad_index,