mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-09 19:00:20 +02:00
Opcode handlers are written with the assumption that LoadSource will not touch flags and this would be an annoying assumption to change. As this is such an edge case anyway just don't defer flags and force a load of the saved value before _TelemetrySetValue (which are implicitly saved before it). Fixes the following snippet in upc.exe: AND word ptr [ESP + ECX*0x1 + 0x80000000],DX BTR CX,DX ADC CX,word ptr SS:[EAX + ECX*0x1 + 0x80000000]