diff --git a/Source/Core/Core/Config/GraphicsSettings.cpp b/Source/Core/Core/Config/GraphicsSettings.cpp index 2dfae2f8b3..4dfe819beb 100644 --- a/Source/Core/Core/Config/GraphicsSettings.cpp +++ b/Source/Core/Core/Config/GraphicsSettings.cpp @@ -72,7 +72,7 @@ const Info GFX_DUMP_PATH{{System::GFX, "Settings", "DumpPath"}, ""} const Info GFX_BITRATE_KBPS{{System::GFX, "Settings", "BitrateKbps"}, 25000}; const Info GFX_FRAME_DUMPS_RESOLUTION_TYPE{ {System::GFX, "Settings", "FrameDumpsResolutionType"}, - FrameDumpResolutionType::XFB_ASPECT_RATIO_CORRECTED_RESOLUTION}; + FrameDumpResolutionType::XFBAspectRatioCorrectedResolution}; const Info GFX_PNG_COMPRESSION_LEVEL{{System::GFX, "Settings", "PNGCompressionLevel"}, 6}; const Info GFX_ENABLE_GPU_TEXTURE_DECODING{ {System::GFX, "Settings", "EnableGPUTextureDecoding"}, false}; 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(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;