mirror of
https://github.com/TomHarte/CLK.git
synced 2026-03-11 04:42:20 +00:00
Switch to int; attempt to do a better job of initial audio filling.
This commit is contained in:
@@ -210,11 +210,11 @@ class ConcreteMachine:
|
||||
z80_.run_for(cycles);
|
||||
}
|
||||
|
||||
void flush_output(Output output) final {
|
||||
if(int(output) & int(Output::Video)) {
|
||||
void flush_output(int outputs) final {
|
||||
if(outputs & Output::Video) {
|
||||
vdp_.flush();
|
||||
}
|
||||
if(int(output) & int(Output::Audio)) {
|
||||
if(outputs & Output::Audio) {
|
||||
update_audio();
|
||||
audio_queue_.perform();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user