Always select the active joystick on network clients

This commit is contained in:
simon.kagstrom 2010-03-06 14:55:21 +00:00
parent 5b21dc3a8f
commit 44625b2daa

View File

@ -267,7 +267,10 @@ void C64::VBlank(bool draw_frame)
if (this->network_connection_type == CLIENT) if (this->network_connection_type == CLIENT)
{ {
Uint8 which = j1; Uint8 which = j2;
if (ThePrefs.JoystickSwap)
which = j1;
TheCIA1->Joystick1 = which; TheCIA1->Joystick1 = which;
TheCIA1->Joystick2 = which; TheCIA1->Joystick2 = which;