1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-12-01 11:49:58 +00:00

Minor formatting/layout fixes.

This commit is contained in:
Thomas Harte 2021-03-19 22:17:03 -04:00
parent 84774a7910
commit bb0d35e3d0
3 changed files with 1 additions and 2 deletions

View File

@ -657,7 +657,6 @@ class ConcreteMachine:
void set_options(const std::unique_ptr<Reflection::Struct> &str) final { void set_options(const std::unique_ptr<Reflection::Struct> &str) final {
const auto options = dynamic_cast<Options *>(str.get()); const auto options = dynamic_cast<Options *>(str.get());
set_video_signal_configurable(options->output); set_video_signal_configurable(options->output);
allow_fast_tape_ = options->quickload; allow_fast_tape_ = options->quickload;
set_use_fast_tape(); set_use_fast_tape();

View File

@ -379,6 +379,7 @@ template<bool is_zx81> class ConcreteMachine:
} }
// MARK: - Configuration options. // MARK: - Configuration options.
std::unique_ptr<Reflection::Struct> get_options() final { std::unique_ptr<Reflection::Struct> get_options() final {
auto options = std::make_unique<Options>(Configurable::OptionsType::UserFriendly); // OptionsType is arbitrary, but not optional. auto options = std::make_unique<Options>(Configurable::OptionsType::UserFriendly); // OptionsType is arbitrary, but not optional.
options->automatic_tape_motor_control = use_automatic_tape_motor_control_; options->automatic_tape_motor_control = use_automatic_tape_motor_control_;

View File

@ -23,7 +23,6 @@ namespace ZX8081 {
class Machine { class Machine {
public: public:
virtual ~Machine(); virtual ~Machine();
static Machine *ZX8081(const Analyser::Static::Target *target, const ROMMachine::ROMFetcher &rom_fetcher); static Machine *ZX8081(const Analyser::Static::Target *target, const ROMMachine::ROMFetcher &rom_fetcher);
virtual void set_tape_is_playing(bool is_playing) = 0; virtual void set_tape_is_playing(bool is_playing) = 0;