diff options
Diffstat (limited to 'ARMeilleure/Instructions/InstEmitException32.cs')
-rw-r--r-- | ARMeilleure/Instructions/InstEmitException32.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ARMeilleure/Instructions/InstEmitException32.cs b/ARMeilleure/Instructions/InstEmitException32.cs index 76dbbf74..0b3d28d9 100644 --- a/ARMeilleure/Instructions/InstEmitException32.cs +++ b/ARMeilleure/Instructions/InstEmitException32.cs @@ -20,11 +20,11 @@ namespace ARMeilleure.Instructions private static void EmitExceptionCall(ArmEmitterContext context, string name) { - OpCode32Exception op = (OpCode32Exception)context.CurrOp; + IOpCode32Exception op = (IOpCode32Exception)context.CurrOp; context.StoreToContext(); - context.Call(typeof(NativeInterface).GetMethod(name), Const(op.Address), Const(op.Id)); + context.Call(typeof(NativeInterface).GetMethod(name), Const(((IOpCode)op).Address), Const(op.Id)); context.LoadFromContext(); |