From: sparky4 Date: Sat, 12 Sep 2015 04:29:18 +0000 (-0500) Subject: it is not work ww X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=a557d88595fdd832c822f7f900f11e68a99e6c35;p=16.git it is not work ww modified: src/vgmtest.c modified: vgmtest.exe --- diff --git a/src/vgmtest.c b/src/vgmtest.c index 50d123de..71779d1e 100755 --- a/src/vgmtest.c +++ b/src/vgmtest.c @@ -48,21 +48,21 @@ void main(int argc, char *argv[]) { global_game_variables_t gvar; - VGM_FILE pee; + VGM_FILE pee[9]; player_t player[MaxPlayers]; InitEngine(); - OpenVGMFile("data/0.vgm", &pee); + OpenVGMFile("data/0.vgm", &pee[0]); IN_Startup(); IN_Default(0,&player,ctrl_Joystick); while(!IN_KeyDown(sc_Escape)) { - PlayMusic(&pee); + PlayMusic(&pee[0]); IN_ReadControl(0,&player); - //UpdateSoundEngine(); + UpdateSoundEngine(); } StopMusic(); - FreeVGMFile(&pee); + FreeVGMFile(&pee[0]); DeinitEngine(); IN_Shutdown(); } diff --git a/vgmtest.exe b/vgmtest.exe index d5f48fa7..83c5c5a1 100755 Binary files a/vgmtest.exe and b/vgmtest.exe differ