Skip to content

Commit f899b8a

Browse files
committed
Fix backwards "sound enabled" logic (Aloshi#261).
1 parent c532c68 commit f899b8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

es-core/src/Sound.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ void Sound::play()
111111
if(mSampleData == NULL)
112112
return;
113113

114-
if(Settings::getInstance()->getBool("EnableSounds"))
114+
if(!Settings::getInstance()->getBool("EnableSounds"))
115115
return;
116116

117117
SDL_LockAudio();

0 commit comments

Comments
 (0)