aboutsummaryrefslogtreecommitdiff
path: root/ChocolArm64/Instruction
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2018-06-26 01:09:32 -0300
committergdkchan <gab.dark.100@gmail.com>2018-06-26 01:10:15 -0300
commit65105c2a3bf136202decd5ec1f5d9626d636033b (patch)
treec877fcc5656aaeabfadd12f5cc8c5da5e72deb42 /ChocolArm64/Instruction
parentc81809352865a9d3be4f9ce20beea4ae39373934 (diff)
Implement SvcGetThreadContext3
Diffstat (limited to 'ChocolArm64/Instruction')
-rw-r--r--ChocolArm64/Instruction/AInstEmitException.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/ChocolArm64/Instruction/AInstEmitException.cs b/ChocolArm64/Instruction/AInstEmitException.cs
index 3e444c73..73d20967 100644
--- a/ChocolArm64/Instruction/AInstEmitException.cs
+++ b/ChocolArm64/Instruction/AInstEmitException.cs
@@ -25,6 +25,7 @@ namespace ChocolArm64.Instruction
Context.EmitLdarg(ATranslatedSub.StateArgIdx);
+ Context.EmitLdc_I8(Op.Position);
Context.EmitLdc_I4(Op.Id);
Context.EmitPrivateCall(typeof(AThreadState), MthdName);