summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRodrigo Locatti <reinuseslisp@airmail.cc>2020-10-25 20:56:30 +0100
committerGitHub <noreply@github.com>2020-10-25 20:56:30 +0100
commit2f6ba544831f4978302cbd690ca36296e1342663 (patch)
tree0a6550bf474de1a4a2ccbeaea2d3eba3b34716ee /src
parentMerge pull request #4828 from lioncash/lockguard (diff)
parentcontroller: Convert led_patterns integer literals to bool literals (diff)
downloadyuzu-2f6ba544831f4978302cbd690ca36296e1342663.tar
yuzu-2f6ba544831f4978302cbd690ca36296e1342663.tar.gz
yuzu-2f6ba544831f4978302cbd690ca36296e1342663.tar.bz2
yuzu-2f6ba544831f4978302cbd690ca36296e1342663.tar.lz
yuzu-2f6ba544831f4978302cbd690ca36296e1342663.tar.xz
yuzu-2f6ba544831f4978302cbd690ca36296e1342663.tar.zst
yuzu-2f6ba544831f4978302cbd690ca36296e1342663.zip
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/applets/controller.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/yuzu/applets/controller.cpp b/src/yuzu/applets/controller.cpp
index 2760487a3..d6fbbbf2b 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,