mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-28 21:49:27 +00:00
Minor formatting/layout fixes.
This commit is contained in:
parent
84774a7910
commit
bb0d35e3d0
@ -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();
|
||||||
|
@ -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_;
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user