void applySettings() { //Set sound volume Mix_Volume(-1, setting()->soundVol ); //Set music volume soundSetMusVol( setting()->musicVol ); ///TODO: These should be "Platform_*" #if defined (GP2X) WIZ_SetVolume( settings.wizVol ); #endif #if defined (WIZ) WIZ_SetVolume( settings.wizVol ); WIZ_SetClock( setting()->wizClock ); #endif }
void applySettings() { //Set sound volume Mix_Volume(-1, setting()->soundVol ); //Set music volume soundSetMusVol( setting()->musicVol ); //TODO: Rename gp2x functions to GP2X_* #if defined (GP2X) WIZ_SetVolume( settings.wizVol ); #endif #if defined (WIZ) WIZ_SetVolume( settings.wizVol ); WIZ_SetClock( setting()->wizClock ); #endif }