Qt: Implement per-game controller configuration
This commit is contained in:
@ -10,7 +10,6 @@ class LayeredSettingsInterface final : public SettingsInterface
|
||||
public:
|
||||
enum Layer : u32
|
||||
{
|
||||
LAYER_CMDLINE,
|
||||
LAYER_GAME,
|
||||
LAYER_INPUT,
|
||||
LAYER_BASE,
|
||||
@ -66,7 +65,7 @@ public:
|
||||
using SettingsInterface::GetUIntValue;
|
||||
|
||||
private:
|
||||
static constexpr Layer FIRST_LAYER = LAYER_CMDLINE;
|
||||
static constexpr Layer FIRST_LAYER = LAYER_GAME;
|
||||
static constexpr Layer LAST_LAYER = LAYER_BASE;
|
||||
|
||||
std::array<SettingsInterface*, NUM_LAYERS> m_layers{};
|
||||
|
||||
@ -10,7 +10,7 @@ class MemorySettingsInterface final : public SettingsInterface
|
||||
{
|
||||
public:
|
||||
MemorySettingsInterface();
|
||||
~MemorySettingsInterface();
|
||||
~MemorySettingsInterface() override;
|
||||
|
||||
bool Save(Error* error = nullptr) override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user