mirror of https://github.com/PCSX2/pcsx2.git
Config: Move some enums from AppConfig->Config
This commit is contained in:
parent
0cc8d402d6
commit
8b44e3d6f6
|
@ -64,6 +64,30 @@ enum class VsyncMode
|
||||||
Adaptive,
|
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 function for casting enumerations to their underlying type
|
||||||
template <typename Enumeration>
|
template <typename Enumeration>
|
||||||
typename std::underlying_type<Enumeration>::type enum_cast(Enumeration E)
|
typename std::underlying_type<Enumeration>::type enum_cast(Enumeration E)
|
||||||
|
|
|
@ -91,30 +91,6 @@ bool IsPortable();
|
||||||
|
|
||||||
extern InstallationModeType InstallationMode;
|
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.
|
// Pcsx2 Application Configuration.
|
||||||
// =====================================================================================================
|
// =====================================================================================================
|
||||||
|
|
Loading…
Reference in New Issue