1
0
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:
Thomas Harte
2018-02-12 21:46:21 -05:00
parent 7ea4ca00dc
commit ddf1bf3cbf
16 changed files with 99 additions and 90 deletions
+12
View File
@@ -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;
};
}