mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-10 14:39:01 +01:00
ClipDisable: Replace cpoly with copy
This commit is contained in:
parent
f614f94568
commit
8520f780ea
@ -278,7 +278,10 @@ union ClipDisable
|
||||
{
|
||||
BitField<0, 1, bool, u32> disable_clipping_detection;
|
||||
BitField<1, 1, bool, u32> disable_trivial_rejection;
|
||||
BitField<2, 1, bool, u32> disable_cpoly_clipping_acceleration;
|
||||
// Also known as "disable cpoly clipping acceleration". "cpoly" appears in patents US6639595B1
|
||||
// and US6700586B1, as well as JP4975159B2, but JP4846120B2 gives "copy clipping acceleration".
|
||||
// Since "cpoly" doesn't have any obvious meaning, "copy" is being used here.
|
||||
BitField<2, 1, bool, u32> disable_copy_clipping_acceleration;
|
||||
u32 hex;
|
||||
};
|
||||
template <>
|
||||
@ -291,10 +294,10 @@ struct fmt::formatter<ClipDisable>
|
||||
return fmt::format_to(ctx.out(),
|
||||
"Disable clipping detection: {}\n"
|
||||
"Disable trivial rejection: {}\n"
|
||||
"Disable cpoly clipping acceleration: {}",
|
||||
"Disable copy clipping acceleration: {}",
|
||||
cd.disable_clipping_detection ? "Yes" : "No",
|
||||
cd.disable_trivial_rejection ? "Yes" : "No",
|
||||
cd.disable_cpoly_clipping_acceleration ? "Yes" : "No");
|
||||
cd.disable_copy_clipping_acceleration ? "Yes" : "No");
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -47,7 +47,7 @@ static void XFRegWritten(u32 address, u32 value)
|
||||
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)
|
||||
if (setting.disable_copy_clipping_acceleration)
|
||||
DolphinAnalytics::Instance().ReportGameQuirk(GameQuirk::SETS_XF_CLIPDISABLE_BIT_2);
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user