mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 08:21:29 +12:00
overlays: hotfix for dialog interaction
Turns out there was an undocumented reason for this. Nobody warned me that "It's a trap!". I wonder how this hasn't summoned a shitstorm yet.
This commit is contained in:
parent
aa0afc9a4e
commit
3e33f064bf
1 changed files with 2 additions and 1 deletions
|
@ -57,7 +57,8 @@ namespace rsx
|
||||||
std::array<std::array<bool, pad_button::pad_button_max_enum>, CELL_PAD_MAX_PORT_NUM> last_button_state;
|
std::array<std::array<bool, pad_button::pad_button_max_enum>, CELL_PAD_MAX_PORT_NUM> last_button_state;
|
||||||
for (auto& state : last_button_state)
|
for (auto& state : last_button_state)
|
||||||
{
|
{
|
||||||
state.fill(false);
|
// Initialize last button states as pressed to avoid unwanted button presses when entering the dialog.
|
||||||
|
state.fill(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
input_timer.Start();
|
input_timer.Start();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue