1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-22 08:16:42 +00:00

Adds a couple of hard-stop conditions to the MSX, and respect for hard stops.

This commit is contained in:
Thomas Harte
2018-02-09 09:10:56 -05:00
parent 4e720d57b2
commit d63a95983d
6 changed files with 16 additions and 1 deletions
@@ -46,7 +46,7 @@ Outputs::Speaker::Speaker *MultiCRTMachine::get_speaker() {
void MultiCRTMachine::run_for(const Cycles cycles) {
for(const auto &machine: machines_) {
CRTMachine::Machine *crt_machine = machine->crt_machine();
if(crt_machine) crt_machine->run_for(cycles);
if(crt_machine && crt_machine->get_confidence() >= 0.01f) crt_machine->run_for(cycles);
}
if(delegate_) delegate_->multi_crt_did_run_machines();