mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-27 04:08:37 +01:00
[GPU Common Vulkan/UI/Windows Debugger] Added const reference for function params
This commit is contained in:
1 parent
af41281761
commit
3d422b11c0
15 files changed
+26
-26
No files matched your search
@@ -69,7 +69,7 @@ private:
|
||||
UI::EventReturn OnReplace(UI::EventParams ¶ms);
|
||||
UI::EventReturn OnReplaceAll(UI::EventParams ¶ms);
|
||||
|
||||
void MappedCallback(MultiInputMapping key);
|
||||
void MappedCallback(const MultiInputMapping &key);
|
||||
|
||||
enum Action {
|
||||
NONE,
|
||||
@@ -163,7 +163,7 @@ void SingleControlMapper::Refresh() {
|
||||
}
|
||||
}
|
||||
|
||||
void SingleControlMapper::MappedCallback(MultiInputMapping kdf) {
|
||||
void SingleControlMapper::MappedCallback(const MultiInputMapping &kdf) {
|
||||
if (kdf.empty()) {
|
||||
// Don't want to try to add this.
|
||||
return;
|
||||
@@ -1192,7 +1192,7 @@ UI::EventReturn VisualMappingScreen::OnBindAll(UI::EventParams &e) {
|
||||
return UI::EVENT_DONE;
|
||||
}
|
||||
|
||||
void VisualMappingScreen::HandleKeyMapping(MultiInputMapping key) {
|
||||
void VisualMappingScreen::HandleKeyMapping(const KeyMap::MultiInputMapping &key) {
|
||||
KeyMap::SetInputMapping(nextKey_, key, replace_);
|
||||
KeyMap::UpdateNativeMenuKeys();
|
||||
|
||||
|
||||
Reference in new issue
Block a user