]> 4ch.mooo.com Git - 16.git/blobdiff - src/sountest.c
16_ca needs huge amounts of work and I should remember what needs to be done soon...
[16.git] / src / sountest.c
index d15a5462fbab440514c02917f1c15c269628e0d5..3ef0114f687af66617a2ec41b657bc69271c0b63 100755 (executable)
@@ -65,13 +65,14 @@ void main(int argc, char near *argv[])
 //0x36,                                /* feedback algorithm and strength 0xC0 */\r
 //};\r
 \r
-       IN_Startup(&gvar);\r
        //FMReset();\r
        //FMSetVoice(0, &testInst);\r
        if(!init_adlib())\r
        {\r
-               Quit(&gvar, "Cannot init library");\r
+               printf("Cannot init library\n");\r
+               exit(-1);\r
        }\r
+       IN_Startup(&gvar);\r
 \r
        if (adlib_fm_voices > 9)\r
                printf("OPL3!\n");\r