d_galpanic: fix inputs

This commit is contained in:
barbudreadmon 2024-10-04 15:56:58 +02:00 committed by GitHub
parent 31dbf645b9
commit 9d556c6a4a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -481,7 +481,7 @@ static INT32 DrvFrame()
{
memset (DrvInputs, 0xff, 3 * sizeof(UINT16));
for (INT32 i = 0; i < 8; i++) {
for (INT32 i = 0; i < 16; i++) {
DrvInputs[0] ^= (DrvJoy1[i] & 1) << i;
DrvInputs[1] ^= (DrvJoy2[i] & 1) << i;
DrvInputs[2] ^= (DrvJoy3[i] & 1) << i;