(Mednafen SNES) 'Fix' little edian input - still issue with 'hold states'

of buttons
This commit is contained in:
twinaphex 2012-11-27 04:16:48 +01:00
parent 53908ec941
commit 697735e2ff

View File

@ -485,6 +485,9 @@ static void update_input(void)
} u;
u.s = input_buf[j];
input_buf[j] = u.b[0] | u.b[1] << 8;
#else
input_buf[j][0] = (input_state >> 0) & 0xff;
input_buf[j][1] = (input_state >> 8) & 0xff;
#endif
}
}