mirror of
https://github.com/TomHarte/CLK.git
synced 2025-10-01 03:16:22 +00:00
Attempts to get as far as running the MultiMachine.
In doing so, fixes the long-standing bug that machines that output audio but don't have a listener produce a divide by zero.
This commit is contained in:
@@ -12,14 +12,15 @@ using namespace Analyser::Dynamic;
|
||||
|
||||
MultiMachine::MultiMachine(std::vector<std::unique_ptr<DynamicMachine>> &&machines) :
|
||||
machines_(std::move(machines)),
|
||||
configuration_target_(machines_) {}
|
||||
configuration_target_(machines_),
|
||||
crt_machine_(machines_) {}
|
||||
|
||||
ConfigurationTarget::Machine *MultiMachine::configuration_target() {
|
||||
return &configuration_target_;
|
||||
}
|
||||
|
||||
CRTMachine::Machine *MultiMachine::crt_machine() {
|
||||
return nullptr;
|
||||
return &crt_machine_;
|
||||
}
|
||||
|
||||
JoystickMachine::Machine *MultiMachine::joystick_machine() {
|
||||
|
Reference in New Issue
Block a user