]> 4ch.mooo.com Git - 16.git/commitdiff
it is not work ww
authorsparky4 <sparky4@cock.li>
Sat, 12 Sep 2015 04:29:18 +0000 (23:29 -0500)
committersparky4 <sparky4@cock.li>
Sat, 12 Sep 2015 04:29:18 +0000 (23:29 -0500)
modified:   src/vgmtest.c
modified:   vgmtest.exe

src/vgmtest.c
vgmtest.exe

index 50d123de6b94c564ade9db4f3681bd2fb47d485e..71779d1e019f5269155dd81fe055fbbf1c068316 100755 (executable)
@@ -48,21 +48,21 @@ void
 main(int argc, char *argv[])\r
 {\r
        global_game_variables_t gvar;\r
-       VGM_FILE pee;\r
+       VGM_FILE pee[9];\r
        player_t player[MaxPlayers];\r
 \r
        InitEngine();\r
-       OpenVGMFile("data/0.vgm", &pee);\r
+       OpenVGMFile("data/0.vgm", &pee[0]);\r
        IN_Startup();\r
        IN_Default(0,&player,ctrl_Joystick);\r
        while(!IN_KeyDown(sc_Escape))\r
        {\r
-               PlayMusic(&pee);\r
+               PlayMusic(&pee[0]);\r
                IN_ReadControl(0,&player);\r
-               //UpdateSoundEngine();\r
+               UpdateSoundEngine();\r
        }\r
        StopMusic();\r
-       FreeVGMFile(&pee);\r
+       FreeVGMFile(&pee[0]);\r
        DeinitEngine();\r
        IN_Shutdown();\r
 }\r
index d5f48fa7fa91a4510f8bb500a1b6f4b26a1dec26..83c5c5a1ed39261e9d388103c59cf191d67b0e25 100755 (executable)
Binary files a/vgmtest.exe and b/vgmtest.exe differ