X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Fsountest.c;h=321d06d54cdd216086e30b982794611dc1a5be3e;hb=6021fc3f27b895d382fbd30488ead35657e39196;hp=d15a5462fbab440514c02917f1c15c269628e0d5;hpb=ce3c236194323bcbc331bad4a059ea95fb6c7947;p=16.git diff --git a/src/sountest.c b/src/sountest.c index d15a5462..321d06d5 100755 --- a/src/sountest.c +++ b/src/sountest.c @@ -1,5 +1,5 @@ /* Project 16 Source Code~ - * Copyright (C) 2012-2017 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover + * Copyright (C) 2012-2018 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover * * This file is part of Project 16. * @@ -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");