Files
dolphin/Source/Core/Common/Config/Enums.h
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

49 lines
727 B
C++
Raw Normal View History

2017-02-16 16:58:40 +01:00
// Copyright 2017 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
2017-02-16 16:58:40 +01:00
#pragma once
#include <array>
2017-02-16 16:58:40 +01:00
namespace Config
{
// Layers in ascending order of priority.
2017-02-16 16:58:40 +01:00
enum class LayerType
{
Base,
CommandLine,
2017-02-16 16:58:40 +01:00
GlobalGame,
LocalGame,
Movie,
Netplay,
CurrentRun,
Meta,
};
enum class System
{
Main,
2017-08-01 22:37:42 +08:00
SYSCONF,
2017-02-16 16:58:40 +01:00
GCPad,
WiiPad,
GCKeyboard,
GFX,
Logger,
DualShockUDPClient,
2020-07-22 19:19:35 -05:00
FreeLook,
2021-06-09 20:16:41 +02:00
Session,
GameSettingsOnly,
2023-03-16 09:06:24 -04:00
Achievements,
2017-02-16 16:58:40 +01:00
};
constexpr std::array<LayerType, 7> SEARCH_ORDER{{
LayerType::CurrentRun,
LayerType::Netplay,
LayerType::Movie,
LayerType::LocalGame,
LayerType::GlobalGame,
LayerType::CommandLine,
LayerType::Base,
}};
2019-05-05 23:48:12 +00:00
} // namespace Config