mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 21:58:48 +00:00
Show a panic alert if the CP vertex config doesn't match the XF vertex config
This probably isn't triggered by real games, but it's possible to accidentally do it with libogc (which results in freezes on real hardware).
This commit is contained in:
parent
46bcdc4372
commit
38a75f6a49
3 changed files with 87 additions and 1 deletions
|
@ -136,7 +136,7 @@ void DolphinAnalytics::ReportGameStart()
|
|||
}
|
||||
|
||||
// Keep in sync with enum class GameQuirk definition.
|
||||
constexpr std::array<const char*, 24> GAME_QUIRKS_NAMES{
|
||||
constexpr std::array<const char*, 27> GAME_QUIRKS_NAMES{
|
||||
"icache-matters",
|
||||
"directly-reads-wiimote-input",
|
||||
"uses-DVDLowStopLaser",
|
||||
|
@ -161,6 +161,9 @@ constexpr std::array<const char*, 24> GAME_QUIRKS_NAMES{
|
|||
"sets-xf-clipdisable-bit-0",
|
||||
"sets-xf-clipdisable-bit-1",
|
||||
"sets-xf-clipdisable-bit-2",
|
||||
"mismatched-gpu-colors-between-cp-and-xf",
|
||||
"mismatched-gpu-normals-between-cp-and-xf",
|
||||
"mismatched-gpu-tex-coords-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