diff --git a/src/common/emu_window.cpp b/src/common/emu_window.cpp index b6d4ff4bc..e9d4f09b6 100644 --- a/src/common/emu_window.cpp +++ b/src/common/emu_window.cpp @@ -12,15 +12,15 @@ #include "video_core/video_core.h" void EmuWindow::ButtonPressed(Service::HID::PadState pad) { - Service::HID::PadState temp=pad_state.load(); - temp.hex |= pad.hex; - pad_state.store(temp); + Service::HID::PadState temp=pad_state.load(); + temp.hex |= pad.hex; + pad_state.store(temp); } void EmuWindow::ButtonReleased(Service::HID::PadState pad) { - Service::HID::PadState temp=pad_state.load(); - temp.hex &= ~pad.hex; - pad_state.store(temp); + Service::HID::PadState temp=pad_state.load(); + temp.hex &= ~pad.hex; + pad_state.store(temp); } void EmuWindow::CirclePadUpdated(float x, float y) {