mirror of
https://github.com/PCSX2/pcsx2.git
synced 2025-12-16 04:08:48 +00:00
Config: Fix GSOptions bitset comparison
This commit is contained in:
parent
3059ab2b12
commit
a78617b987
@ -713,7 +713,7 @@ struct Pcsx2Config
|
||||
|
||||
union
|
||||
{
|
||||
u64 bitset[2];
|
||||
u64 bitsets[2];
|
||||
|
||||
struct
|
||||
{
|
||||
|
||||
@ -708,8 +708,8 @@ std::optional<bool> Pcsx2Config::GSOptions::TriStateToOptionalBoolean(int value)
|
||||
|
||||
Pcsx2Config::GSOptions::GSOptions()
|
||||
{
|
||||
bitset[0] = 0;
|
||||
bitset[1] = 0;
|
||||
bitsets[0] = 0;
|
||||
bitsets[1] = 0;
|
||||
|
||||
PCRTCAntiBlur = true;
|
||||
DisableInterlaceOffset = false;
|
||||
@ -798,7 +798,8 @@ bool Pcsx2Config::GSOptions::operator==(const GSOptions& right) const
|
||||
bool Pcsx2Config::GSOptions::OptionsAreEqual(const GSOptions& right) const
|
||||
{
|
||||
return (
|
||||
OpEqu(bitset) &&
|
||||
OpEqu(bitsets[0]) &&
|
||||
OpEqu(bitsets[1]) &&
|
||||
|
||||
OpEqu(InterlaceMode) &&
|
||||
OpEqu(LinearPresent) &&
|
||||
|
||||
Loading…
Reference in New Issue
Block a user