summaryrefslogtreecommitdiff
path: root/apps/plugins/pdbox/PDa/intern/tabplay~.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/pdbox/PDa/intern/tabplay~.c')
-rw-r--r--apps/plugins/pdbox/PDa/intern/tabplay~.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/plugins/pdbox/PDa/intern/tabplay~.c b/apps/plugins/pdbox/PDa/intern/tabplay~.c
index 5ac0d2701a..cc326559fa 100644
--- a/apps/plugins/pdbox/PDa/intern/tabplay~.c
+++ b/apps/plugins/pdbox/PDa/intern/tabplay~.c
@@ -1,5 +1,8 @@
1 1
2#ifndef ROCKBOX
2#define FIXEDPOINT 3#define FIXEDPOINT
4#endif
5
3#include <m_pd.h> 6#include <m_pd.h>
4#include <m_fixed.h> 7#include <m_fixed.h>
5 8
@@ -94,6 +97,11 @@ static void tabplay_tilde_list(t_tabplay_tilde *x, t_symbol *s,
94{ 97{
95 long start = atom_getfloatarg(0, argc, argv); 98 long start = atom_getfloatarg(0, argc, argv);
96 long length = atom_getfloatarg(1, argc, argv); 99 long length = atom_getfloatarg(1, argc, argv);
100
101#ifdef ROCKBOX
102 (void) s;
103#endif
104
97 if (start < 0) start = 0; 105 if (start < 0) start = 0;
98 if (length <= 0) 106 if (length <= 0)
99 x->x_limit = 0x7fffffff; 107 x->x_limit = 0x7fffffff;