X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=frontend%2Fmain.h;h=98b0f370ed266c6da4c4d23edfb273d0a7410b8b;hb=1631b0537f583dee1875f4538d89e4867efec1ae;hp=7ce9e5d63fe5183bafe899745a025e0e8534589d;hpb=69e482e3def6669a4fa921d07f9ba04883d7de34;p=pcsx_rearmed.git diff --git a/frontend/main.h b/frontend/main.h index 7ce9e5d6..98b0f370 100644 --- a/frontend/main.h +++ b/frontend/main.h @@ -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_; }