mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-02-16 20:15:38 +00:00
Fix backwards "sound enabled" logic (#261).
This commit is contained in:
parent
c532c68dde
commit
f899b8aaaf
|
@ -111,7 +111,7 @@ void Sound::play()
|
||||||
if(mSampleData == NULL)
|
if(mSampleData == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if(Settings::getInstance()->getBool("EnableSounds"))
|
if(!Settings::getInstance()->getBool("EnableSounds"))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
SDL_LockAudio();
|
SDL_LockAudio();
|
||||||
|
|
Loading…
Reference in a new issue