1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-10 13:31:42 +00:00

Fix MacroJit SubtractWithBorrow Alu Reg Operation. (#1473)

This commit is contained in:
LDj3SNuD 2020-08-13 17:08:48 +02:00 committed by GitHub
parent 6938988427
commit 8624dd8de6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -358,11 +358,12 @@ namespace Ryujinx.Graphics.Gpu.Engine.MME
_ilGen.Emit(OpCodes.Conv_U8);
EmitLoadGprB(opCode);
_ilGen.Emit(OpCodes.Conv_U8);
_ilGen.Emit(OpCodes.Ldc_I4_1);
_ilGen.Emit(OpCodes.Ldloc_S, _carry);
_ilGen.Emit(OpCodes.Conv_U8);
_ilGen.Emit(OpCodes.Neg);
_ilGen.Emit(OpCodes.Sub);
_ilGen.Emit(OpCodes.Add);
_ilGen.Emit(OpCodes.Conv_U8);
_ilGen.Emit(OpCodes.Sub);
_ilGen.Emit(OpCodes.Sub);
_ilGen.Emit(OpCodes.Dup);
_ilGen.Emit(OpCodes.Ldc_I8, 0x100000000L);
_ilGen.Emit(OpCodes.Clt_Un);