diff --git a/src/4klang.inc b/src/4klang.inc index d6c421b..084c54e 100644 --- a/src/4klang.inc +++ b/src/4klang.inc @@ -83,8 +83,6 @@ go4k_synth_commands dd 0 dd _go4kFLD_func@0 %ifdef GO4K_USE_GLITCH dd _go4kGLITCH_func@0 -%else - dd _go4kFLD_func@0 %endif %ifdef GO4K_USE_FSTG dd _go4kFSTG_func@0 diff --git a/src/vsti/Go4kVSTiCore.cpp b/src/vsti/Go4kVSTiCore.cpp index 6eb00ef..a031027 100644 --- a/src/vsti/Go4kVSTiCore.cpp +++ b/src/vsti/Go4kVSTiCore.cpp @@ -2718,7 +2718,7 @@ void Go4kVSTi_SaveByteStream(HINSTANCE hInst, char* filename, int useenvlevels, fprintf(file, "%%endif\n"); fprintf(file, "%%ifdef GO4K_USE_FSTG\n"); - fprintf(file, "GO4K_FSTG_ID equ 13\n"); + fprintf(file, "GO4K_FSTG_ID equ %d\n", uses.glitch_use ? 13 : 12); fprintf(file, "%%macro GO4K_FSTG 2\n"); fprintf(file, " db %%1\n"); fprintf(file, " dw %%2\n");