mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 18:00:17 +02:00
Merge pull request #5192 from bylaws/telemfix
OpcodeDispatcher: Explicitly calculate flags after _TelemetrySetValue
This commit is contained in:
1 file changed
+4
@@ -4101,6 +4101,8 @@ void OpDispatchBuilder::CheckLegacySegmentRead(Ref NewNode, uint32_t SegmentReg)
|
||||
|
||||
// Will set the telemetry value if NewNode is != 0
|
||||
_TelemetrySetValue(NewNode, TelemIndex);
|
||||
// Telemetry will dirty flags, and user code does not expect LoadSource to clobber flags, fix that up here as this is an edge case.
|
||||
CalculateDeferredFlags();
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -4139,6 +4141,8 @@ void OpDispatchBuilder::CheckLegacySegmentWrite(Ref NewNode, uint32_t SegmentReg
|
||||
|
||||
// Will set the telemetry value if NewNode is != 0
|
||||
_TelemetrySetValue(NewNode, TelemIndex);
|
||||
// Telemetry will dirty flags, and user code does not expect LoadSource to clobber flags, fix that up here as this is an edge case.
|
||||
CalculateDeferredFlags();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user