spu: don't leave garbage in capture buffers
[pcsx_rearmed.git] / frontend / main.h
index 7ce9e5d..98b0f37 100644 (file)
@@ -79,6 +79,7 @@ enum sched_action {
        SACTION_GUN_A,
        SACTION_GUN_B,
        SACTION_GUN_TRIGGER2,
+       SACTION_ANALOG_TOGGLE,
 };
 
 #define SACTION_GUN_MASK (0x0f << SACTION_GUN_TRIGGER)
@@ -91,7 +92,7 @@ static inline void emu_set_action(enum sched_action action_)
        if (action_ == SACTION_NONE)
                emu_action_old = 0;
        else if (action_ != emu_action_old)
-               stop = 1;
+               stop++;
        emu_action = action_;
 }