summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon
diff options
context:
space:
mode:
authorAdmiral H. Curtiss <pikachu025@gmail.com>2024-04-13 03:20:06 +0200
committerAdmiral H. Curtiss <pikachu025@gmail.com>2024-04-13 03:21:39 +0200
commit2f13be5a2d05b41ba91a2abfa4af2c79a85bb34f (patch)
tree2f62301611ce144a72452f214bfc17f1f13e5b5b /Source/Core/VideoCommon
parent66592f79f2230bf5589bccb1f51da72150bf89c9 (diff)
VideoConfig: Adjust FrameDumpResolutionType enum class to style guidelines
Diffstat (limited to 'Source/Core/VideoCommon')
-rw-r--r--Source/Core/VideoCommon/Present.cpp6
-rw-r--r--Source/Core/VideoCommon/VideoConfig.h8
2 files changed, 7 insertions, 7 deletions
diff --git a/Source/Core/VideoCommon/Present.cpp b/Source/Core/VideoCommon/Present.cpp
index 7de27f5049..d6794a5d54 100644
--- a/Source/Core/VideoCommon/Present.cpp
+++ b/Source/Core/VideoCommon/Present.cpp
@@ -212,7 +212,7 @@ void Presenter::ProcessFrameDumping(u64 ticks) const
switch (g_ActiveConfig.frame_dumps_resolution_type)
{
default:
- case FrameDumpResolutionType::WINDOW_RESOLUTION:
+ case FrameDumpResolutionType::WindowResolution:
{
if (!g_gfx->IsHeadless())
{
@@ -221,7 +221,7 @@ void Presenter::ProcessFrameDumping(u64 ticks) const
}
[[fallthrough]];
}
- case FrameDumpResolutionType::XFB_ASPECT_RATIO_CORRECTED_RESOLUTION:
+ case FrameDumpResolutionType::XFBAspectRatioCorrectedResolution:
{
target_rect = m_xfb_rect;
const bool allow_stretch = false;
@@ -233,7 +233,7 @@ void Presenter::ProcessFrameDumping(u64 ticks) const
target_rect = MathUtil::Rectangle<int>(0, 0, int_width, int_height);
break;
}
- case FrameDumpResolutionType::XFB_RAW_RESOLUTION:
+ case FrameDumpResolutionType::XFBRawResolution:
{
target_rect = m_xfb_rect;
break;
diff --git a/Source/Core/VideoCommon/VideoConfig.h b/Source/Core/VideoCommon/VideoConfig.h
index baf8fb4e8b..1e5f03d0e5 100644
--- a/Source/Core/VideoCommon/VideoConfig.h
+++ b/Source/Core/VideoCommon/VideoConfig.h
@@ -83,11 +83,11 @@ enum class TriState : int
enum class FrameDumpResolutionType : int
{
// Window resolution (not including potential back buffer black borders)
- WINDOW_RESOLUTION,
+ WindowResolution,
// The aspect ratio corrected XFB resolution (XFB pixels might not have been square)
- XFB_ASPECT_RATIO_CORRECTED_RESOLUTION,
+ XFBAspectRatioCorrectedResolution,
// The raw unscaled XFB resolution (based on "internal resolution" scale)
- XFB_RAW_RESOLUTION,
+ XFBRawResolution,
};
// Bitmask containing information about which configuration has changed for the backend.
@@ -200,7 +200,7 @@ struct VideoConfig final
std::string sDumpFormat;
std::string sDumpPath;
FrameDumpResolutionType frame_dumps_resolution_type =
- FrameDumpResolutionType::XFB_ASPECT_RATIO_CORRECTED_RESOLUTION;
+ FrameDumpResolutionType::XFBAspectRatioCorrectedResolution;
bool bBorderlessFullscreen = false;
bool bEnableGPUTextureDecoding = false;
bool bPreferVSForLinePointExpansion = false;