mirror of
https://github.com/TomHarte/CLK.git
synced 2024-09-29 16:55:59 +00:00
Add overt flushes to the SDL target.
This commit is contained in:
parent
59da143e6a
commit
a0e01d4c34
@ -31,6 +31,7 @@ void Timer::tick() {
|
|||||||
|
|
||||||
std::lock_guard lock_guard(*machineMutex);
|
std::lock_guard lock_guard(*machineMutex);
|
||||||
machine->run_for(double(duration) / 1e9);
|
machine->run_for(double(duration) / 1e9);
|
||||||
|
machine->flush_output(MachineTypes::TimedMachine::Output::All);
|
||||||
}
|
}
|
||||||
|
|
||||||
Timer::~Timer() {
|
Timer::~Timer() {
|
||||||
|
Loading…
Reference in New Issue
Block a user