Config: Give Movie and Netplay higher priority than CommandLine
Avoiding desyncs is more important than honoring what the user specified on the command line.
This commit is contained in:
parent
a9862b5395
commit
359ed5348a
|
@ -8,14 +8,15 @@
|
|||
|
||||
namespace Config
|
||||
{
|
||||
// Layers in ascending order of priority.
|
||||
enum class LayerType
|
||||
{
|
||||
Base,
|
||||
CommandLine,
|
||||
GlobalGame,
|
||||
LocalGame,
|
||||
Movie,
|
||||
Netplay,
|
||||
CommandLine,
|
||||
CurrentRun,
|
||||
Meta,
|
||||
};
|
||||
|
@ -36,11 +37,11 @@ enum class System
|
|||
|
||||
constexpr std::array<LayerType, 7> SEARCH_ORDER{{
|
||||
LayerType::CurrentRun,
|
||||
LayerType::CommandLine,
|
||||
LayerType::Movie,
|
||||
LayerType::Netplay,
|
||||
LayerType::Movie,
|
||||
LayerType::LocalGame,
|
||||
LayerType::GlobalGame,
|
||||
LayerType::CommandLine,
|
||||
LayerType::Base,
|
||||
}};
|
||||
} // namespace Config
|
||||
|
|
Loading…
Reference in New Issue