mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-04 09:18:38 +00:00
fixed warnings
svn-id: r11046
This commit is contained in:
parent
b27a871f87
commit
9588a6fd31
@ -283,7 +283,7 @@ int main(int argc, char *argv[]) {
|
||||
}
|
||||
|
||||
// (De)activate fullscreen mode as determined by the config settings
|
||||
if (ConfMan.getBool("fullscreen") != system->property(OSystem::PROP_GET_FULLSCREEN, 0))
|
||||
if (ConfMan.getBool("fullscreen") != (system->property(OSystem::PROP_GET_FULLSCREEN, 0) != 0))
|
||||
system->property(OSystem::PROP_TOGGLE_FULLSCREEN, 0);
|
||||
|
||||
// Create the game engine
|
||||
|
@ -842,7 +842,7 @@ public:
|
||||
// we need to update music volume immediately.
|
||||
|
||||
if (widget == _musicSwitch) {
|
||||
g_sound->muteMusic(result);
|
||||
g_sound->muteMusic(result != 0);
|
||||
} else if (widget == _musicSlider) {
|
||||
g_sound->setMusicVolume(result);
|
||||
g_sound->muteMusic(result == 0);
|
||||
|
@ -76,7 +76,7 @@ private:
|
||||
OSystem::MutexRef _mutex;
|
||||
RateConverter *_converter;
|
||||
|
||||
uint32 _panTable[33];
|
||||
int32 _panTable[33];
|
||||
|
||||
FxHandle _fx[MAXFX];
|
||||
MusicHandle _music[MAXMUS + 1];
|
||||
|
Loading…
x
Reference in New Issue
Block a user