summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexLoaderManager.cpp
diff options
context:
space:
mode:
authorPokechu22 <Pokechu022@gmail.com>2022-07-17 18:12:08 -0700
committerPokechu22 <Pokechu022@gmail.com>2022-07-23 09:01:22 -0700
commit6a7aa8f2c6a3a52ab809f4c21ab6ecdeded3c20c (patch)
treec65bf8db53afc71079b740e2a09b9c65f50c8443 /Source/Core/VideoCommon/VertexLoaderManager.cpp
parent3d7b66bcfc08381400d3259d49943919733bf85b (diff)
Convert CP/XF matrix indices mismatch panic alert to a warning
https://bugs.dolphin-emu.org/issues/12977 indicates that this happens on startup of Spider-Man 2, even in single-core. I don't have the game, so I can't directly determine why this is happening, but presumably real hardware does not hang in this case, so we can make it less obtrusive.
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoaderManager.cpp')
-rw-r--r--Source/Core/VideoCommon/VertexLoaderManager.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/Core/VideoCommon/VertexLoaderManager.cpp b/Source/Core/VideoCommon/VertexLoaderManager.cpp
index f3fc4d9e7e..102eb5f94e 100644
--- a/Source/Core/VideoCommon/VertexLoaderManager.cpp
+++ b/Source/Core/VideoCommon/VertexLoaderManager.cpp
@@ -325,11 +325,11 @@ static void CheckCPConfiguration(int vtx_attr_group)
if (g_main_cp_state.matrix_index_a.Hex != xfmem.MatrixIndexA.Hex ||
g_main_cp_state.matrix_index_b.Hex != xfmem.MatrixIndexB.Hex)
{
- PanicAlertFmt("Mismatched matrix index configuration between CP and XF stages - "
- "index A: {:08x}/{:08x}, index B {:08x}/{:08x}. "
- "Please report on the issue tracker.",
- g_main_cp_state.matrix_index_a.Hex, xfmem.MatrixIndexA.Hex,
- g_main_cp_state.matrix_index_b.Hex, xfmem.MatrixIndexB.Hex);
+ WARN_LOG_FMT(VIDEO,
+ "Mismatched matrix index configuration between CP and XF stages - "
+ "index A: {:08x}/{:08x}, index B {:08x}/{:08x}.",
+ 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);
}