Config: Move some enums from AppConfig->Config

This commit is contained in:
Connor McLaughlin 2021-08-17 22:51:47 +10:00 committed by Kojin
parent 0cc8d402d6
commit 8b44e3d6f6
2 changed files with 24 additions and 24 deletions

View File

@ -64,6 +64,30 @@ enum class VsyncMode
Adaptive,
};
enum AspectRatioType
{
AspectRatio_Stretch,
AspectRatio_4_3,
AspectRatio_16_9,
AspectRatio_MaxCount
};
enum FMVAspectRatioSwitchType
{
FMV_AspectRatio_Switch_Off,
FMV_AspectRatio_Switch_4_3,
FMV_AspectRatio_Switch_16_9,
FMV_AspectRatio_Switch_MaxCount
};
enum MemoryCardType
{
MemoryCard_None,
MemoryCard_File,
MemoryCard_Folder,
MemoryCard_MaxCount
};
// Template function for casting enumerations to their underlying type
template <typename Enumeration>
typename std::underlying_type<Enumeration>::type enum_cast(Enumeration E)

View File

@ -91,30 +91,6 @@ bool IsPortable();
extern InstallationModeType InstallationMode;
enum AspectRatioType
{
AspectRatio_Stretch,
AspectRatio_4_3,
AspectRatio_16_9,
AspectRatio_MaxCount
};
enum FMVAspectRatioSwitchType
{
FMV_AspectRatio_Switch_Off,
FMV_AspectRatio_Switch_4_3,
FMV_AspectRatio_Switch_16_9,
FMV_AspectRatio_Switch_MaxCount
};
enum MemoryCardType
{
MemoryCard_None,
MemoryCard_File,
MemoryCard_Folder,
MemoryCard_MaxCount
};
// =====================================================================================================
// Pcsx2 Application Configuration.
// =====================================================================================================