mirror of
https://github.com/TomHarte/CLK.git
synced 2025-02-27 00:30:26 +00:00
Amiga only, temporarily: attempt to reduce audio maintenance costs.
This commit is contained in:
parent
3e2a6ef3f4
commit
fc0dc4e5e2
@ -209,14 +209,17 @@ class ConcreteMachine:
|
||||
chipset_.set_scan_target(scan_target);
|
||||
}
|
||||
|
||||
Outputs::Display::ScanStatus get_scaled_scan_status() const {
|
||||
Outputs::Display::ScanStatus get_scaled_scan_status() const final {
|
||||
return chipset_.get_scaled_scan_status();
|
||||
}
|
||||
|
||||
// MARK: - MachineTypes::TimedMachine.
|
||||
|
||||
void run_for(const Cycles cycles) {
|
||||
void run_for(const Cycles cycles) final {
|
||||
mc68000_.run_for(cycles);
|
||||
}
|
||||
|
||||
void flush_output() final {
|
||||
flush();
|
||||
}
|
||||
|
||||
@ -228,7 +231,7 @@ class ConcreteMachine:
|
||||
|
||||
// MARK: - MachineTypes::JoystickMachine.
|
||||
|
||||
const std::vector<std::unique_ptr<Inputs::Joystick>> &get_joysticks() {
|
||||
const std::vector<std::unique_ptr<Inputs::Joystick>> &get_joysticks() final {
|
||||
return chipset_.get_joysticks();
|
||||
}
|
||||
|
||||
|
@ -61,6 +61,9 @@ class TimedMachine {
|
||||
virtual float get_confidence() { return 0.5f; }
|
||||
virtual std::string debug_type() { return ""; }
|
||||
|
||||
/// Ensures all locally-buffered output is posted onward.
|
||||
virtual void flush_output() {}
|
||||
|
||||
protected:
|
||||
/// Runs the machine for @c cycles.
|
||||
virtual void run_for(const Cycles cycles) = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user