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:
Megamouse 2021-04-20 00:26:10 +02:00
parent aa0afc9a4e
commit 3e33f064bf

View File

@ -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;
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();