mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Add game quirks for unknown BP/CP/XF commands
This commit is contained in:
@ -133,20 +133,26 @@ void DolphinAnalytics::ReportGameStart()
|
||||
}
|
||||
|
||||
// Keep in sync with enum class GameQuirk definition.
|
||||
constexpr std::array<const char*, 14> GAME_QUIRKS_NAMES{"icache-matters",
|
||||
"directly-reads-wiimote-input",
|
||||
"uses-DVDLowStopLaser",
|
||||
"uses-DVDLowOffset",
|
||||
"uses-DVDLowReadDiskBca",
|
||||
"uses-DVDLowRequestDiscStatus",
|
||||
"uses-DVDLowRequestRetryNumber",
|
||||
"uses-DVDLowSerMeasControl",
|
||||
"uses-different-partition-command",
|
||||
"uses-di-interrupt-command",
|
||||
"mismatched-gpu-texgens-between-xf-and-bp",
|
||||
"mismatched-gpu-colors-between-xf-and-bp",
|
||||
"uses-uncommon-wd-mode",
|
||||
"uses-wd-unimplemented-ioctl"};
|
||||
constexpr std::array<const char*, 18> GAME_QUIRKS_NAMES{
|
||||
"icache-matters",
|
||||
"directly-reads-wiimote-input",
|
||||
"uses-DVDLowStopLaser",
|
||||
"uses-DVDLowOffset",
|
||||
"uses-DVDLowReadDiskBca",
|
||||
"uses-DVDLowRequestDiscStatus",
|
||||
"uses-DVDLowRequestRetryNumber",
|
||||
"uses-DVDLowSerMeasControl",
|
||||
"uses-different-partition-command",
|
||||
"uses-di-interrupt-command",
|
||||
"mismatched-gpu-texgens-between-xf-and-bp",
|
||||
"mismatched-gpu-colors-between-xf-and-bp",
|
||||
"uses-uncommon-wd-mode",
|
||||
"uses-wd-unimplemented-ioctl",
|
||||
"uses-unknown-bp-command",
|
||||
"uses-unknown-cp-command",
|
||||
"uses-unknown-xf-command",
|
||||
"uses-maybe-invalid-cp-command",
|
||||
};
|
||||
static_assert(GAME_QUIRKS_NAMES.size() == static_cast<u32>(GameQuirk::COUNT),
|
||||
"Game quirks names and enum definition are out of sync.");
|
||||
|
||||
|
@ -61,6 +61,15 @@ enum class GameQuirk
|
||||
|
||||
USES_WD_UNIMPLEMENTED_IOCTL,
|
||||
|
||||
// Some games use invalid/unknown graphics commands (see e.g. bug 10931).
|
||||
// These are different from unknown opcodes: it is known that a BP/CP/XF command is being used,
|
||||
// but the command itself is not understood.
|
||||
USES_UNKNOWN_BP_COMMAND,
|
||||
USES_UNKNOWN_CP_COMMAND,
|
||||
USES_UNKNOWN_XF_COMMAND,
|
||||
// YAGCD and Dolphin's implementation disagree about what is valid in some cases
|
||||
USES_MAYBE_INVALID_CP_COMMAND,
|
||||
|
||||
COUNT,
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user