aboutsummaryrefslogtreecommitdiff
path: root/ARMeilleure/State/NativeContext.cs
diff options
context:
space:
mode:
Diffstat (limited to 'ARMeilleure/State/NativeContext.cs')
-rw-r--r--ARMeilleure/State/NativeContext.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/ARMeilleure/State/NativeContext.cs b/ARMeilleure/State/NativeContext.cs
index 0ab9a3fd..95d976ee 100644
--- a/ARMeilleure/State/NativeContext.cs
+++ b/ARMeilleure/State/NativeContext.cs
@@ -67,8 +67,8 @@ namespace ARMeilleure.State
int offset = RegisterConsts.IntRegsCount * IntSize + index * VecSize;
- Marshal.WriteInt64(BasePtr, offset + 0, value.GetInt64(0));
- Marshal.WriteInt64(BasePtr, offset + 8, value.GetInt64(1));
+ Marshal.WriteInt64(BasePtr, offset + 0, value.Extract<long>(0));
+ Marshal.WriteInt64(BasePtr, offset + 8, value.Extract<long>(1));
}
public bool GetPstateFlag(PState flag)