diff options
| author | 2021-10-22 23:04:06 -0500 | |
|---|---|---|
| committer | 2021-11-24 20:30:25 -0600 | |
| commit | b564f024f0be5023cf13fb2fca953ea6c1feeeb6 (patch) | |
| tree | bb2fb272058a239a345856d4b34389791ea0a783 /src/core/hid/emulated_console.cpp | |
| parent | service/hid: Match shared memory closer to HW (diff) | |
| download | yuzu-b564f024f0be5023cf13fb2fca953ea6c1feeeb6.tar.gz yuzu-b564f024f0be5023cf13fb2fca953ea6c1feeeb6.tar.xz yuzu-b564f024f0be5023cf13fb2fca953ea6c1feeeb6.zip | |
Morph review first wave
Diffstat (limited to 'src/core/hid/emulated_console.cpp')
| -rw-r--r-- | src/core/hid/emulated_console.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hid/emulated_console.cpp b/src/core/hid/emulated_console.cpp index 540fd107b..d1d4a5355 100644 --- a/src/core/hid/emulated_console.cpp +++ b/src/core/hid/emulated_console.cpp | |||
| @@ -6,7 +6,7 @@ | |||
| 6 | #include "core/hid/input_converter.h" | 6 | #include "core/hid/input_converter.h" |
| 7 | 7 | ||
| 8 | namespace Core::HID { | 8 | namespace Core::HID { |
| 9 | EmulatedConsole::EmulatedConsole() {} | 9 | EmulatedConsole::EmulatedConsole() = default; |
| 10 | 10 | ||
| 11 | EmulatedConsole::~EmulatedConsole() = default; | 11 | EmulatedConsole::~EmulatedConsole() = default; |
| 12 | 12 | ||
| @@ -191,7 +191,7 @@ TouchFingerState EmulatedConsole::GetTouch() const { | |||
| 191 | } | 191 | } |
| 192 | 192 | ||
| 193 | void EmulatedConsole::TriggerOnChange(ConsoleTriggerType type) { | 193 | void EmulatedConsole::TriggerOnChange(ConsoleTriggerType type) { |
| 194 | for (const std::pair<int, ConsoleUpdateCallback> poller_pair : callback_list) { | 194 | for (const auto& poller_pair : callback_list) { |
| 195 | const ConsoleUpdateCallback& poller = poller_pair.second; | 195 | const ConsoleUpdateCallback& poller = poller_pair.second; |
| 196 | if (poller.on_change) { | 196 | if (poller.on_change) { |
| 197 | poller.on_change(type); | 197 | poller.on_change(type); |