mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-04 03:33:44 +01:00
Global: Set many read-only params as const.
This makes what they do and which args to use clearer, if nothing else.
This commit is contained in:
1 parent
e3fdb183f6
commit
a7b7bf7826
71 files changed
+113
-119
No files matched your search
@@ -271,7 +271,7 @@ void ComboKeyScreen::CreateViews() {
|
||||
}
|
||||
}
|
||||
|
||||
static uint64_t arrayToInt(bool ary[ARRAY_SIZE(CustomKey::comboKeyList)]) {
|
||||
static uint64_t arrayToInt(const bool ary[ARRAY_SIZE(CustomKey::comboKeyList)]) {
|
||||
uint64_t value = 0;
|
||||
for (int i = ARRAY_SIZE(CustomKey::comboKeyList)-1; i >= 0; i--) {
|
||||
value |= ary[i] ? 1 : 0;
|
||||
|
||||
Reference in new issue
Block a user