mirror of
https://github.com/TomHarte/CLK.git
synced 2026-04-21 17:16:44 +00:00
Reintroduces options selection for the Mac.
For everything except the Vic-20, anyway. That has a somewhat outdated notion of what an options panel should be, corresponding to the work yet to do on its analyser.
This commit is contained in:
@@ -29,6 +29,18 @@ struct DynamicMachine {
|
||||
virtual JoystickMachine::Machine *joystick_machine() = 0;
|
||||
virtual KeyboardMachine::Machine *keyboard_machine() = 0;
|
||||
virtual Configurable::Device *configurable_device() = 0;
|
||||
|
||||
/*!
|
||||
Provides a raw pointer to the underlying machine if and only if this dynamic machine really is
|
||||
only a single machine.
|
||||
|
||||
Very unsafe. Very temporary.
|
||||
|
||||
TODO: eliminate in favour of introspection for machine-specific inputs. This is here temporarily
|
||||
only to permit continuity of certain features in the Mac port that have not yet made their way
|
||||
to the SDL/console port.
|
||||
*/
|
||||
virtual void *raw_pointer() = 0;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user