playstation_mouse: Amend initial x value

Previously the last host y position was being written to twice, which
seems like a typo.
This commit is contained in:
Lioncash 2020-06-23 05:48:23 -04:00
parent 840a80670f
commit 7a05f8402b

View file

@ -11,7 +11,7 @@ Log_SetChannel(PlayStationMouse);
PlayStationMouse::PlayStationMouse(System* system) : m_system(system) 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(); m_last_host_position_y = system->GetHostInterface()->GetDisplay()->GetMousePositionY();
} }