macroInt: add hasRelease variable

This commit is contained in:
tildearrow 2022-06-05 16:24:12 -05:00
parent 6095255fce
commit af0103d76e
2 changed files with 12 additions and 2 deletions

View file

@ -96,6 +96,9 @@ class DivMacroInt {
ksr() {}
} op[4];
// state
bool hasRelease;
/**
* trigger macro release.
*/
@ -149,7 +152,8 @@ class DivMacroInt {
ex5(),
ex6(),
ex7(),
ex8() {
ex8(),
hasRelease(false) {
memset(macroList,0,128*sizeof(void*));
memset(macroSource,0,128*sizeof(void*));
}