1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-09-27 18:55:48 +00:00

Ensures that the ColecoVision, MSX and Master System fully flush.

This commit is contained in:
Thomas Harte 2020-01-22 22:57:16 -05:00
parent beefb70f75
commit a86fb33789
3 changed files with 3 additions and 0 deletions

View File

@ -360,6 +360,7 @@ class ConcreteMachine:
vdp_.flush(); vdp_.flush();
update_audio(); update_audio();
audio_queue_.perform(); audio_queue_.perform();
audio_queue_.flush();
} }
float get_confidence() override { float get_confidence() override {

View File

@ -618,6 +618,7 @@ class ConcreteMachine:
vdp_.flush(); vdp_.flush();
update_audio(); update_audio();
audio_queue_.perform(); audio_queue_.perform();
audio_queue_.flush();
} }
void set_keyboard_line(int line) { void set_keyboard_line(int line) {

View File

@ -342,6 +342,7 @@ class ConcreteMachine:
vdp_.flush(); vdp_.flush();
update_audio(); update_audio();
audio_queue_.perform(); audio_queue_.perform();
audio_queue_.flush();
} }
const std::vector<std::unique_ptr<Inputs::Joystick>> &get_joysticks() override { const std::vector<std::unique_ptr<Inputs::Joystick>> &get_joysticks() override {