fix combo handling for interrupted combos

This commit is contained in:
Ilya Zhuravlev
2021-07-04 15:07:31 -04:00
parent 99772b39c4
commit c9492cef89
2 changed files with 44 additions and 23 deletions

View File

@@ -25,11 +25,14 @@
#include <stdint.h>
#ifdef EXTRA_EXTRA_LONG_COMBOS
# define MAX_COMBO_LENGTH 32
# define MAX_COMBO_LENGTH 31
# define COMBO_COMPLETE 0x80000000u
#elif EXTRA_LONG_COMBOS
# define MAX_COMBO_LENGTH 16
# define MAX_COMBO_LENGTH 15
# define COMBO_COMPLETE 0x8000u
#else
# define MAX_COMBO_LENGTH 8
# define MAX_COMBO_LENGTH 7
# define COMBO_COMPLETE 0x80u
#endif
typedef struct {