2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

addressed issue

This commit is contained in:
David Marcec 2019-07-08 14:49:16 +10:00
parent b82b5e46e7
commit e3d000a7e6

View file

@ -225,7 +225,7 @@ std::vector<s16> AudioRenderer::VoiceState::DequeueSamples(std::size_t sample_co
out_status.wave_buffer_consumed++;
}
if (wave_buffer.end_of_stream || !wave_buffer.buffer_sz) {
if (wave_buffer.end_of_stream || wave_buffer.buffer_sz == 0) {
info.play_state = PlayState::Paused;
}
}