From 3cc00c067692cf70706cc6038348b748f037ff8b Mon Sep 17 00:00:00 2001 From: Dentomologist Date: Thu, 14 Aug 2025 13:04:10 -0700 Subject: DolphinAnalytics: Use Pascal case for GameQuirk enum --- Source/Core/VideoCommon/VertexLoaderManager.cpp | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) (limited to 'Source/Core/VideoCommon/VertexLoaderManager.cpp') diff --git a/Source/Core/VideoCommon/VertexLoaderManager.cpp b/Source/Core/VideoCommon/VertexLoaderManager.cpp index 0f44d16023..e7b2cb5df2 100644 --- a/Source/Core/VideoCommon/VertexLoaderManager.cpp +++ b/Source/Core/VideoCommon/VertexLoaderManager.cpp @@ -300,18 +300,15 @@ static void CheckCPConfiguration(int vtx_attr_group) // eventually simulate the behavior we have test cases for it. if (num_cp_colors != xfmem.invtxspec.numcolors) [[unlikely]] { - DolphinAnalytics::Instance().ReportGameQuirk( - GameQuirk::MISMATCHED_GPU_COLORS_BETWEEN_CP_AND_XF); + DolphinAnalytics::Instance().ReportGameQuirk(GameQuirk::MismatchedGPUColorsBetweenCPAndXF); } if (num_cp_normals != num_xf_normals) [[unlikely]] { - DolphinAnalytics::Instance().ReportGameQuirk( - GameQuirk::MISMATCHED_GPU_NORMALS_BETWEEN_CP_AND_XF); + DolphinAnalytics::Instance().ReportGameQuirk(GameQuirk::MismatchedGPUNormalsBetweenCPAndXF); } if (num_cp_tex_coords != xfmem.invtxspec.numtextures) [[unlikely]] { - DolphinAnalytics::Instance().ReportGameQuirk( - GameQuirk::MISMATCHED_GPU_TEX_COORDS_BETWEEN_CP_AND_XF); + DolphinAnalytics::Instance().ReportGameQuirk(GameQuirk::MismatchedGPUTexCoordsBetweenCPAndXF); } // Don't bail out, though; we can still render something successfully @@ -327,7 +324,7 @@ static void CheckCPConfiguration(int vtx_attr_group) g_main_cp_state.matrix_index_a.Hex, xfmem.MatrixIndexA.Hex, g_main_cp_state.matrix_index_b.Hex, xfmem.MatrixIndexB.Hex); DolphinAnalytics::Instance().ReportGameQuirk( - GameQuirk::MISMATCHED_GPU_MATRIX_INDICES_BETWEEN_CP_AND_XF); + GameQuirk::MismatchedGPUMatrixIndicesBetweenCPAndXF); } if (g_main_cp_state.vtx_attr[vtx_attr_group].g0.PosFormat >= ComponentFormat::InvalidFloat5) @@ -337,7 +334,7 @@ static void CheckCPConfiguration(int vtx_attr_group) g_main_cp_state.vtx_attr[vtx_attr_group].g0.Hex, g_main_cp_state.vtx_attr[vtx_attr_group].g1.Hex, g_main_cp_state.vtx_attr[vtx_attr_group].g2.Hex); - DolphinAnalytics::Instance().ReportGameQuirk(GameQuirk::INVALID_POSITION_COMPONENT_FORMAT); + DolphinAnalytics::Instance().ReportGameQuirk(GameQuirk::InvalidPositionComponentFormat); } if (g_main_cp_state.vtx_attr[vtx_attr_group].g0.NormalFormat >= ComponentFormat::InvalidFloat5) { @@ -346,7 +343,7 @@ static void CheckCPConfiguration(int vtx_attr_group) g_main_cp_state.vtx_attr[vtx_attr_group].g0.Hex, g_main_cp_state.vtx_attr[vtx_attr_group].g1.Hex, g_main_cp_state.vtx_attr[vtx_attr_group].g2.Hex); - DolphinAnalytics::Instance().ReportGameQuirk(GameQuirk::INVALID_NORMAL_COMPONENT_FORMAT); + DolphinAnalytics::Instance().ReportGameQuirk(GameQuirk::InvalidNormalComponentFormat); } for (size_t i = 0; i < 8; i++) { @@ -359,7 +356,7 @@ static void CheckCPConfiguration(int vtx_attr_group) g_main_cp_state.vtx_attr[vtx_attr_group].g1.Hex, g_main_cp_state.vtx_attr[vtx_attr_group].g2.Hex); DolphinAnalytics::Instance().ReportGameQuirk( - GameQuirk::INVALID_TEXTURE_COORDINATE_COMPONENT_FORMAT); + GameQuirk::InvalidTextureCoordinateComponentFormat); } } for (size_t i = 0; i < 2; i++) @@ -371,7 +368,7 @@ static void CheckCPConfiguration(int vtx_attr_group) g_main_cp_state.vtx_attr[vtx_attr_group].g0.Hex, g_main_cp_state.vtx_attr[vtx_attr_group].g1.Hex, g_main_cp_state.vtx_attr[vtx_attr_group].g2.Hex); - DolphinAnalytics::Instance().ReportGameQuirk(GameQuirk::INVALID_COLOR_COMPONENT_FORMAT); + DolphinAnalytics::Instance().ReportGameQuirk(GameQuirk::InvalidColorComponentFormat); } } } -- cgit v1.2.3