mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 18:00:17 +02:00
In the case of modrm + immediate then the immediate would end up overwriting Src1 due to the the order of the decoding. Changes Src1 and Src2 to an array and use a variable to index the array. Causes a bit of code churn but fixes instruction decoding and allows easier expansion in the future for instructions that have more sources like AVX