Quick fix so that global store opcode is exported as 12 when glitch is not used.

This commit is contained in:
Veikko Sariola 2020-04-12 22:14:28 +03:00
parent 8d984cbc38
commit 2bee9edd0b
2 changed files with 1 additions and 3 deletions

View File

@ -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

View File

@ -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");