mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
VideoCommon: report games that set bits in XFMEM_CLIPDISABLE
The SDK only exposes the lowest bit. The Nintendo Channel intro is currently broken because we don't implement this (see issue 12562).
This commit is contained in:
parent
fd8a818a93
commit
f9d2d42a4c
3 changed files with 18 additions and 4 deletions
|
@ -48,10 +48,16 @@ static void XFRegWritten(int transferSize, u32 baseAddress, DataReader src)
|
|||
break;
|
||||
|
||||
case XFMEM_CLIPDISABLE:
|
||||
// if (data & 1) {} // disable clipping detection
|
||||
// if (data & 2) {} // disable trivial rejection
|
||||
// if (data & 4) {} // disable cpoly clipping acceleration
|
||||
{
|
||||
ClipDisable setting{.hex = newValue};
|
||||
if (setting.disable_clipping_detection)
|
||||
DolphinAnalytics::Instance().ReportGameQuirk(GameQuirk::SETS_XF_CLIPDISABLE_BIT_0);
|
||||
if (setting.disable_trivial_rejection)
|
||||
DolphinAnalytics::Instance().ReportGameQuirk(GameQuirk::SETS_XF_CLIPDISABLE_BIT_1);
|
||||
if (setting.disable_cpoly_clipping_acceleration)
|
||||
DolphinAnalytics::Instance().ReportGameQuirk(GameQuirk::SETS_XF_CLIPDISABLE_BIT_2);
|
||||
break;
|
||||
}
|
||||
|
||||
case XFMEM_VTXSPECS: //__GXXfVtxSpecs, wrote 0004
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue