mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-05 09:13:43 -04:00
lr: add support for location resolver disable commands
This commit is contained in:
parent
05de5538d6
commit
e1aff401ba
12 changed files with 110 additions and 10 deletions
|
@ -125,6 +125,15 @@ namespace ams::util {
|
|||
|
||||
return false;
|
||||
}
|
||||
|
||||
template<typename F>
|
||||
void ForEach(F f) {
|
||||
for (size_t i = 0; i < N; ++i) {
|
||||
if (m_keys[i]) {
|
||||
f(m_keys[i].value(), GetReference(m_values[i]));
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue