Skip to content

Commit

Permalink
Fix MSVC 2003
Browse files Browse the repository at this point in the history
  • Loading branch information
inactive123 committed Apr 27, 2018
1 parent 983b924 commit 85161af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libretro/libretro.c
Original file line number Diff line number Diff line change
Expand Up @@ -781,9 +781,10 @@ void I_StartTic (void)

for (i = 0; i < 4; i++)
{
event_t event = {0};

new_input_analog_l[i] = synthetic_pwm(analog_l_amplitude[i], &analog_l_modulation_state[i]);

event_t event = {0};
if(new_input_analog_l[i] && !old_input_analog_l[i])
{
event.type = ev_keydown;
Expand Down

0 comments on commit 85161af

Please sign in to comment.