X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Fsountest.c;h=47848ceb5f953fd6a65451bfb09eaf534c9996a7;hb=3699f81f66bac5890103bc233444b2c6c27a37e2;hp=e734a8c7cee05b9f722b962f7ca29cb070b4a749;hpb=050d28da3358d5c1434fda542ec11adbee182ea5;p=16.git diff --git a/src/sountest.c b/src/sountest.c index e734a8c7..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 ("Cannot init library"); + printf("Cannot init library\n"); + exit(-1); } + IN_Startup(&gvar); if (adlib_fm_voices > 9) printf("OPL3!\n");