From 7a05f8402bc07d991174929104d25962fc5859fa Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 23 Jun 2020 05:48:23 -0400 Subject: [PATCH] playstation_mouse: Amend initial x value Previously the last host y position was being written to twice, which seems like a typo. --- src/core/playstation_mouse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/playstation_mouse.cpp b/src/core/playstation_mouse.cpp index c14038d3a..0ee49adbb 100644 --- a/src/core/playstation_mouse.cpp +++ b/src/core/playstation_mouse.cpp @@ -11,7 +11,7 @@ Log_SetChannel(PlayStationMouse); PlayStationMouse::PlayStationMouse(System* system) : m_system(system) { - m_last_host_position_y = system->GetHostInterface()->GetDisplay()->GetMousePositionX(); + m_last_host_position_x = system->GetHostInterface()->GetDisplay()->GetMousePositionX(); m_last_host_position_y = system->GetHostInterface()->GetDisplay()->GetMousePositionY(); }