aboutsummaryrefslogtreecommitdiff
path: root/vm.h
diff options
context:
space:
mode:
Diffstat (limited to 'vm.h')
-rw-r--r--vm.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/vm.h b/vm.h
index 2a9cb8d..adb7ad7 100644
--- a/vm.h
+++ b/vm.h
@@ -76,8 +76,9 @@
#define VM__opLoad VM_PREFIX"opLoad"
#define MAX_NPROPS 1
-#define CTRL_MAX 8
-#define ITEMS_MAX 128
+#define CTRL_MAX 0x8
+#define CTRL_MASK (CTRL_MAX - 1)
+#define ITEMS_MAX 128
#define GRAPH_SIZE (ITEMS_MAX * sizeof(LV2_Atom_Long))
#include <props.lv2/props.h>