/* Project 16 Source Code~\r
- * Copyright (C) 2012-2017 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover\r
+ * Copyright (C) 2012-2022 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover\r
*\r
* This file is part of Project 16.\r
*\r
#include <stdio.h>\r
\r
#include "src/lib/16_in.h"\r
-#include "src/lib/16_sd.h"\r
+#include "src/lib/16_snd.h"\r
//#include <hw/8254/8254.h> /* 8254 timer */\r
//#include <hw/adlib/adlib.h>\r
\r
//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