mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-18 02:42:42 +00:00
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.
This commit is contained in:
parent
3d7b66bcfc
commit
6a7aa8f2c6
@ -325,11 +325,11 @@ static void CheckCPConfiguration(int vtx_attr_group)
|
|||||||
if (g_main_cp_state.matrix_index_a.Hex != xfmem.MatrixIndexA.Hex ||
|
if (g_main_cp_state.matrix_index_a.Hex != xfmem.MatrixIndexA.Hex ||
|
||||||
g_main_cp_state.matrix_index_b.Hex != xfmem.MatrixIndexB.Hex)
|
g_main_cp_state.matrix_index_b.Hex != xfmem.MatrixIndexB.Hex)
|
||||||
{
|
{
|
||||||
PanicAlertFmt("Mismatched matrix index configuration between CP and XF stages - "
|
WARN_LOG_FMT(VIDEO,
|
||||||
"index A: {:08x}/{:08x}, index B {:08x}/{:08x}. "
|
"Mismatched matrix index configuration between CP and XF stages - "
|
||||||
"Please report on the issue tracker.",
|
"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_a.Hex, xfmem.MatrixIndexA.Hex,
|
||||||
g_main_cp_state.matrix_index_b.Hex, xfmem.MatrixIndexB.Hex);
|
g_main_cp_state.matrix_index_b.Hex, xfmem.MatrixIndexB.Hex);
|
||||||
DolphinAnalytics::Instance().ReportGameQuirk(
|
DolphinAnalytics::Instance().ReportGameQuirk(
|
||||||
GameQuirk::MISMATCHED_GPU_MATRIX_INDICES_BETWEEN_CP_AND_XF);
|
GameQuirk::MISMATCHED_GPU_MATRIX_INDICES_BETWEEN_CP_AND_XF);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user