early-access version 3558
This commit is contained in:
parent
8836e1a4e6
commit
f015d7bfb1
2 changed files with 5 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
yuzu emulator early access
|
yuzu emulator early access
|
||||||
=============
|
=============
|
||||||
|
|
||||||
This is the source code for early-access 3557.
|
This is the source code for early-access 3558.
|
||||||
|
|
||||||
## Legal Notice
|
## Legal Notice
|
||||||
|
|
||||||
|
|
|
@ -551,6 +551,8 @@ void EmulatedController::EnableSystemButtons() {
|
||||||
void EmulatedController::DisableSystemButtons() {
|
void EmulatedController::DisableSystemButtons() {
|
||||||
std::scoped_lock lock{mutex};
|
std::scoped_lock lock{mutex};
|
||||||
system_buttons_enabled = false;
|
system_buttons_enabled = false;
|
||||||
|
controller.home_button_state.raw = 0;
|
||||||
|
controller.capture_button_state.raw = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void EmulatedController::ResetSystemButtons() {
|
void EmulatedController::ResetSystemButtons() {
|
||||||
|
@ -734,6 +736,8 @@ void EmulatedController::SetButton(const Common::Input::CallbackStatus& callback
|
||||||
if (is_configuring) {
|
if (is_configuring) {
|
||||||
controller.npad_button_state.raw = NpadButton::None;
|
controller.npad_button_state.raw = NpadButton::None;
|
||||||
controller.debug_pad_button_state.raw = 0;
|
controller.debug_pad_button_state.raw = 0;
|
||||||
|
controller.home_button_state.raw = 0;
|
||||||
|
controller.capture_button_state.raw = 0;
|
||||||
lock.unlock();
|
lock.unlock();
|
||||||
TriggerOnChange(ControllerTriggerType::Button, false);
|
TriggerOnChange(ControllerTriggerType::Button, false);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue