mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-02-07 20:03:35 +00:00
location_descriptor: Fix compare operator for single stepping
Compare `single_stepping` with the other's value instead of comparing it with the local value.
This commit is contained in:
parent
96e9075804
commit
ba6654b0e7
@ -55,7 +55,7 @@ public:
|
||||
bool SingleStepping() const { return single_stepping; }
|
||||
|
||||
bool operator == (const LocationDescriptor& o) const {
|
||||
return std::tie(arm_pc, cpsr, fpscr, single_stepping) == std::tie(o.arm_pc, o.cpsr, o.fpscr, single_stepping);
|
||||
return std::tie(arm_pc, cpsr, fpscr, single_stepping) == std::tie(o.arm_pc, o.cpsr, o.fpscr, o.single_stepping);
|
||||
}
|
||||
|
||||
bool operator != (const LocationDescriptor& o) const {
|
||||
|
||||
@ -45,7 +45,7 @@ public:
|
||||
bool SingleStepping() const { return single_stepping; }
|
||||
|
||||
bool operator == (const LocationDescriptor& o) const {
|
||||
return std::tie(pc, fpcr, single_stepping) == std::tie(o.pc, o.fpcr, single_stepping);
|
||||
return std::tie(pc, fpcr, single_stepping) == std::tie(o.pc, o.fpcr, o.single_stepping);
|
||||
}
|
||||
|
||||
bool operator != (const LocationDescriptor& o) const {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user