mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-02 22:22:37 +01:00
b2c41cec0a
Settings that come from the SYSCONF are now included in Dolphin's config system as part of the base layer. They are handled in a special way compared to other settings to make sure they are only loaded from and saved to the SYSCONF (to avoid different, possibly contradicting sources of truth).
42 lines
631 B
C++
42 lines
631 B
C++
// Copyright 2017 Dolphin Emulator Project
|
|
// Licensed under GPLv2+
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include <array>
|
|
|
|
namespace Config
|
|
{
|
|
enum class LayerType
|
|
{
|
|
Base,
|
|
GlobalGame,
|
|
LocalGame,
|
|
Movie,
|
|
Netplay,
|
|
CommandLine,
|
|
CurrentRun,
|
|
Meta,
|
|
};
|
|
|
|
enum class System
|
|
{
|
|
Main,
|
|
SYSCONF,
|
|
GCPad,
|
|
WiiPad,
|
|
GCKeyboard,
|
|
GFX,
|
|
Logger,
|
|
Debugger,
|
|
UI,
|
|
};
|
|
|
|
constexpr std::array<LayerType, 7> SEARCH_ORDER{{
|
|
// Skip the meta layer
|
|
LayerType::CurrentRun, LayerType::CommandLine, LayerType::Movie, LayerType::Netplay,
|
|
LayerType::LocalGame, LayerType::GlobalGame, LayerType::Base,
|
|
}};
|
|
}
|