mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-26 05:24:21 +01:00
Handle joystick updates on the host as well
This commit is contained in:
parent
9e3f75c4f4
commit
fb56639526
@ -699,6 +699,16 @@ void C64::VBlank(bool draw_frame)
|
|||||||
else
|
else
|
||||||
TheCIA1->Joystick1 = j2;
|
TheCIA1->Joystick1 = j2;
|
||||||
}
|
}
|
||||||
|
else if (this->network_connection_type == CLIENT)
|
||||||
|
{
|
||||||
|
Uint8 which = j2;
|
||||||
|
|
||||||
|
/* Set both joysticks to the updated value */
|
||||||
|
if (j2 != 0xff)
|
||||||
|
which = j2;
|
||||||
|
TheCIA1->Joystick1 = which;
|
||||||
|
TheCIA1->Joystick2 = which;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
TheCIA1->Joystick1 = j1;
|
TheCIA1->Joystick1 = j1;
|
||||||
|
Loading…
Reference in New Issue
Block a user