mirror of https://github.com/stella-emu/stella.git
Fix clang warning.
This commit is contained in:
parent
3eec0defce
commit
82392944ad
|
@ -459,8 +459,8 @@ void FrameBuffer::update(UpdateMode mode)
|
|||
frames = std::round(std::sqrt(stateFrames));
|
||||
|
||||
// Mute sound if saved states were removed or states are too far apart
|
||||
myOSystem.sound().mute(stateFrames > intervalFrames
|
||||
|| frames > myOSystem.audioSettings().bufferSize() / 2 + 1);
|
||||
myOSystem.sound().mute(stateFrames > intervalFrames ||
|
||||
frames > static_cast<int>(myOSystem.audioSettings().bufferSize() / 2 + 1));
|
||||
}
|
||||
redraw |= success;
|
||||
if(redraw)
|
||||
|
|
Loading…
Reference in New Issue