]> 4ch.mooo.com Git - 16.git/commitdiff
dang!
authorsparky4 <sparky4@cock.li>
Sat, 12 Sep 2015 08:31:31 +0000 (03:31 -0500)
committersparky4 <sparky4@cock.li>
Sat, 12 Sep 2015 08:31:31 +0000 (03:31 -0500)
modified:   src/vgmtest.c
modified:   vgmtest.exe

src/vgmtest.c
vgmtest.exe

index 4657000daeb1a887285c5a85e3cfb7c06c4a82a3..c8e0d5537127d2825d610bff28827c8dbad7ee46 100755 (executable)
@@ -54,6 +54,11 @@ main(int argc, char *argv[])
        player_t player[MaxPlayers];\r
 \r
        //opl2out(0x105, 0x00);\r
+       if(!init_adlib())\r
+       {\r
+               printf("Cannot init library\n");\r
+               exit(-5);\r
+       }\r
        InitEngine();\r
        OpenVGMFile("data/0.vgm", &pee[0]);\r
        IN_Startup();\r
@@ -67,5 +72,6 @@ main(int argc, char *argv[])
        StopMusic();\r
        FreeVGMFile(&pee[0]);\r
        DeinitEngine();\r
+       shutdown_adlib();\r
        IN_Shutdown();\r
 }\r
index ea0a67710aab804cc139b40ae8ae7567e83fa5e7..448d0fc495a49141d969681ad921fa767ca3bab5 100755 (executable)
Binary files a/vgmtest.exe and b/vgmtest.exe differ