X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Fsountest.c;h=47848ceb5f953fd6a65451bfb09eaf534c9996a7;hb=3699f81f66bac5890103bc233444b2c6c27a37e2;hp=d15a5462fbab440514c02917f1c15c269628e0d5;hpb=ce3c236194323bcbc331bad4a059ea95fb6c7947;p=16.git diff --git a/src/sountest.c b/src/sountest.c index d15a5462..47848ceb 100755 --- a/src/sountest.c +++ b/src/sountest.c @@ -23,7 +23,7 @@ #include #include "src/lib/16_in.h" -#include "src/lib/16_sd.h" +#include "src/lib/16_snd.h" //#include /* 8254 timer */ //#include @@ -65,13 +65,14 @@ void main(int argc, char near *argv[]) //0x36, /* feedback algorithm and strength 0xC0 */ //}; - IN_Startup(&gvar); //FMReset(); //FMSetVoice(0, &testInst); if(!init_adlib()) { - Quit(&gvar, "Cannot init library"); + printf("Cannot init library\n"); + exit(-1); } + IN_Startup(&gvar); if (adlib_fm_voices > 9) printf("OPL3!\n");