Fix game pausing/unpausing

This commit is contained in:
Rui Pinheiro 2018-12-25 21:49:33 +00:00 committed by kd-11
parent f17f984721
commit 650bc0c1f2

View file

@ -230,7 +230,10 @@ u64 audio_ringbuffer::update()
else if (emu_paused) else if (emu_paused)
{ {
// Emulator unpaused // Emulator unpaused
play(); if (has_capability(AudioBackend::PLAY_PAUSE_FLUSH) && enqueued_samples > 0)
{
play();
}
emu_paused = false; emu_paused = false;
} }