mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-05 13:30:07 +00:00
Decrease indentation.
This commit is contained in:
parent
e8aa9b9eb2
commit
08f98aa32f
File diff suppressed because it is too large
Load Diff
@ -21,26 +21,26 @@ namespace Commodore::Vic20 {
|
|||||||
std::unique_ptr<Reflection::Struct> get_options();
|
std::unique_ptr<Reflection::Struct> get_options();
|
||||||
|
|
||||||
class Machine {
|
class Machine {
|
||||||
public:
|
public:
|
||||||
virtual ~Machine() = default;
|
virtual ~Machine() = default;
|
||||||
|
|
||||||
/// Creates and returns a Vic-20.
|
/// Creates and returns a Vic-20.
|
||||||
static std::unique_ptr<Machine> Vic20(const Analyser::Static::Target *target, const ROMMachine::ROMFetcher &rom_fetcher);
|
static std::unique_ptr<Machine> Vic20(const Analyser::Static::Target *, const ROMMachine::ROMFetcher &);
|
||||||
|
|
||||||
class Options: public Reflection::StructImpl<Options>, public Configurable::DisplayOption<Options>, public Configurable::QuickloadOption<Options> {
|
class Options: public Reflection::StructImpl<Options>, public Configurable::DisplayOption<Options>, public Configurable::QuickloadOption<Options> {
|
||||||
friend Configurable::DisplayOption<Options>;
|
friend Configurable::DisplayOption<Options>;
|
||||||
friend Configurable::QuickloadOption<Options>;
|
friend Configurable::QuickloadOption<Options>;
|
||||||
public:
|
public:
|
||||||
Options(Configurable::OptionsType type) :
|
Options(Configurable::OptionsType type) :
|
||||||
Configurable::DisplayOption<Options>(type == Configurable::OptionsType::UserFriendly ? Configurable::Display::SVideo : Configurable::Display::CompositeColour),
|
Configurable::DisplayOption<Options>(type == Configurable::OptionsType::UserFriendly ? Configurable::Display::SVideo : Configurable::Display::CompositeColour),
|
||||||
Configurable::QuickloadOption<Options>(type == Configurable::OptionsType::UserFriendly) {
|
Configurable::QuickloadOption<Options>(type == Configurable::OptionsType::UserFriendly) {
|
||||||
if(needs_declare()) {
|
if(needs_declare()) {
|
||||||
declare_display_option();
|
declare_display_option();
|
||||||
declare_quickload_option();
|
declare_quickload_option();
|
||||||
limit_enum(&output, Configurable::Display::SVideo, Configurable::Display::CompositeColour, -1);
|
limit_enum(&output, Configurable::Display::SVideo, Configurable::Display::CompositeColour, -1);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user