From: sparky4 Date: Sat, 12 Sep 2015 08:31:31 +0000 (-0500) Subject: dang! X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=6d9dbde388b9c0183efc7fe1f461fa5083fe3fd0;p=16.git dang! modified: src/vgmtest.c modified: vgmtest.exe --- diff --git a/src/vgmtest.c b/src/vgmtest.c index 4657000d..c8e0d553 100755 --- a/src/vgmtest.c +++ b/src/vgmtest.c @@ -54,6 +54,11 @@ main(int argc, char *argv[]) player_t player[MaxPlayers]; //opl2out(0x105, 0x00); + if(!init_adlib()) + { + printf("Cannot init library\n"); + exit(-5); + } InitEngine(); OpenVGMFile("data/0.vgm", &pee[0]); IN_Startup(); @@ -67,5 +72,6 @@ main(int argc, char *argv[]) StopMusic(); FreeVGMFile(&pee[0]); DeinitEngine(); + shutdown_adlib(); IN_Shutdown(); } diff --git a/vgmtest.exe b/vgmtest.exe index ea0a6771..448d0fc4 100755 Binary files a/vgmtest.exe and b/vgmtest.exe differ