From 41c35b348030bad0229186c4af208a5f5fddf62b Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Fri, 26 Apr 2024 22:04:11 +0300 Subject: [PATCH] Los Justicieros left holster --- arcadia.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arcadia.cpp b/arcadia.cpp index ffe9184f..0cb75a5f 100644 --- a/arcadia.cpp +++ b/arcadia.cpp @@ -1366,7 +1366,7 @@ uae_u16 alg_joydat(int joy, uae_u16 v) } else if (joy == 1) { - // holster + // right holster if (alg_flag & 512) v |= 0x0200; @@ -1374,6 +1374,11 @@ uae_u16 alg_joydat(int joy, uae_u16 v) if (alg_flag & 64) v |= 0x0002; + // left holster + if (alg_flag & 256) + v |= (v & 0x0002) ? 0x0000 : 0x0001; + else + v |= (v & 0x0002) ? 0x0001 : 0x0000; } } else if (alg_picmatic_nova == 2) { -- 2.47.3