From 44625b2daab0c3cb97b2c152dca1db0ae840e85e Mon Sep 17 00:00:00 2001 From: "simon.kagstrom" Date: Sat, 6 Mar 2010 14:55:21 +0000 Subject: [PATCH] Always select the active joystick on network clients --- Src/C64_SDL.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Src/C64_SDL.h b/Src/C64_SDL.h index e49a1d4..350c2a9 100644 --- a/Src/C64_SDL.h +++ b/Src/C64_SDL.h @@ -267,7 +267,10 @@ void C64::VBlank(bool draw_frame) if (this->network_connection_type == CLIENT) { - Uint8 which = j1; + Uint8 which = j2; + + if (ThePrefs.JoystickSwap) + which = j1; TheCIA1->Joystick1 = which; TheCIA1->Joystick2 = which;