motorollin
Member
- Joined
- Jul 31, 2007
- Messages
- 163
My game's music (a .MOD file) plays back when I run my game in Windows but not on the GP2X. I added some code to test whether the file was being loaded:
CODE
Mix_Music *gamemusic = NULL;
gamemusic = Mix_LoadMUS( "snd/game.mod" );
if ( !gamemusic )
{
quit=true;
loop=false;
status=1000;
}
Under Windows, the game *doesn't* quit, so the file was successfully loaded. On the GP2X it *does* quit, which means it can't load the file. The file snd/game.mod does exist on the SD card. Any ideas what I need to do to get this to work?
CODE
Mix_Music *gamemusic = NULL;
gamemusic = Mix_LoadMUS( "snd/game.mod" );
if ( !gamemusic )
{
quit=true;
loop=false;
status=1000;
}
Under Windows, the game *doesn't* quit, so the file was successfully loaded. On the GP2X it *does* quit, which means it can't load the file. The file snd/game.mod does exist on the SD card. Any ideas what I need to do to get this to work?