diff options
-rw-r--r-- | packages/patches/switch~_bang_crash-0.43.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/patches/switch~_bang_crash-0.43.patch b/packages/patches/switch~_bang_crash-0.43.patch new file mode 100644 index 00000000..c72dc671 --- /dev/null +++ b/packages/patches/switch~_bang_crash-0.43.patch @@ -0,0 +1,16 @@ +Index: d_ugen.c +=================================================================== +--- d_ugen.c (revision 13170) ++++ d_ugen.c (working copy) +@@ -219,6 +219,11 @@ + + static void block_bang(t_block *x) + { ++ if (!dsp_chain) ++ { ++ pd_error(x, "bang to block~ or switch~ with DSP off has no effect"); ++ return; ++ } + if (x->x_switched && !x->x_switchon) + { + t_int *ip; |