Really fix the networking joystick issue, networking seems to work well

now
This commit is contained in:
simon.kagstrom 2010-02-21 06:52:43 +00:00
parent bbc30c590d
commit 25605859e4

View File

@ -273,6 +273,14 @@ void C64::VBlank(bool draw_frame)
TheCIA1->Joystick1 = which;
TheCIA1->Joystick2 = which;
}
else if (this->network_connection_type == MASTER)
{
/* The other comes from the network */
if (ThePrefs.JoystickSwap)
TheCIA1->Joystick1 = j1;
else
TheCIA1->Joystick2 = j2;
}
else
{
TheCIA1->Joystick1 = j1;