mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 20:58:54 +00:00
Show a panic alert if the CP matrix indices don't match the XF matrix indices
This almost certainly never happens, but if it does we want to know.
This commit is contained in:
parent
38a75f6a49
commit
8df55b492c
4 changed files with 18 additions and 15 deletions
|
@ -136,7 +136,7 @@ void DolphinAnalytics::ReportGameStart()
|
|||
}
|
||||
|
||||
// Keep in sync with enum class GameQuirk definition.
|
||||
constexpr std::array<const char*, 27> GAME_QUIRKS_NAMES{
|
||||
constexpr std::array<const char*, 28> GAME_QUIRKS_NAMES{
|
||||
"icache-matters",
|
||||
"directly-reads-wiimote-input",
|
||||
"uses-DVDLowStopLaser",
|
||||
|
@ -164,6 +164,7 @@ constexpr std::array<const char*, 27> GAME_QUIRKS_NAMES{
|
|||
"mismatched-gpu-colors-between-cp-and-xf",
|
||||
"mismatched-gpu-normals-between-cp-and-xf",
|
||||
"mismatched-gpu-tex-coords-between-cp-and-xf",
|
||||
"mismatched-gpu-matrix-indices-between-cp-and-xf",
|
||||
};
|
||||
static_assert(GAME_QUIRKS_NAMES.size() == static_cast<u32>(GameQuirk::COUNT),
|
||||
"Game quirks names and enum definition are out of sync.");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue