]> 4ch.mooo.com Git - 16.git/commitdiff
something is kill
authorsparky4 <sparky4@cock.li>
Sat, 12 Sep 2015 04:08:23 +0000 (23:08 -0500)
committersparky4 <sparky4@cock.li>
Sat, 12 Sep 2015 04:08:23 +0000 (23:08 -0500)
modified:   data/0.vgm
modified:   src/vgmtest.c
modified:   vgmtest.exe

data/0.vgm
src/vgmtest.c
vgmtest.exe

index fb4ee0ccfe7d55b2a0e2d715d0b46cc960977d1d..652c8b4f5845dcc5bcb64c03793777658effc2d5 100755 (executable)
Binary files a/data/0.vgm and b/data/0.vgm differ
index 874780a91e05690558026932d31460a660b32372..569da02546acd696252c35dd2a6a571e482a7765 100755 (executable)
@@ -52,26 +52,16 @@ main(int argc, char *argv[])
        player_t player[MaxPlayers];\r
 \r
        InitEngine();\r
-       OpenVGMFile("data\0.vgm", &pee);\r
+       OpenVGMFile("data/0.vgm", &pee);\r
        IN_Startup();\r
        IN_Default(0,&player,ctrl_Joystick);\r
-       PlayMusic(&pee);\r
        while(!IN_KeyDown(sc_Escape))\r
        {\r
+               PlayMusic(&pee);\r
                IN_ReadControl(0,&player);\r
                UpdateSoundEngine();\r
        }\r
        StopMusic();\r
-       /*VGM_FILE* tempVgmFile;\r
-       UINT8 vgmChn;\r
-       UINT8 vgmId;\r
-\r
-       tempVgmFile = &vgmFiles[vgmId];\r
-\r
-       if (vgmChn == 0x7F)\r
-               PlayMusic(tempVgmFile);\r
-       else\r
-               PlaySFX(tempVgmFile, vgmChn);*/\r
        FreeVGMFile(&pee);\r
        DeinitEngine();\r
        IN_Shutdown();\r
index 43058e923fa6cc83956b1b58db12de9eac9728cd..ae6c7f64e888ef0bcc8bb96c3d1cd1d1d2837ed7 100755 (executable)
Binary files a/vgmtest.exe and b/vgmtest.exe differ