aboutsummaryrefslogtreecommitdiff
path: root/ARMeilleure/Instructions/NativeInterface.cs
diff options
context:
space:
mode:
authormageven <62494521+mageven@users.noreply.github.com>2020-05-23 15:45:59 +0530
committerGitHub <noreply@github.com>2020-05-23 12:15:59 +0200
commit6416bc193843702fc9d77be24e7b5b86c2b5e68c (patch)
treeb85fc1c74cd6c9715816cd21dfde4f830fd9c590 /ARMeilleure/Instructions/NativeInterface.cs
parentff7a933ec01f790aa842b0ef75081ed3e0a654a2 (diff)
Implement CNTVCT_EL0 (#1268)
* Implement CNTVCT_EL0 * Fix comment
Diffstat (limited to 'ARMeilleure/Instructions/NativeInterface.cs')
-rw-r--r--ARMeilleure/Instructions/NativeInterface.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/ARMeilleure/Instructions/NativeInterface.cs b/ARMeilleure/Instructions/NativeInterface.cs
index f42dc283..49faab35 100644
--- a/ARMeilleure/Instructions/NativeInterface.cs
+++ b/ARMeilleure/Instructions/NativeInterface.cs
@@ -136,6 +136,11 @@ namespace ARMeilleure.Instructions
return GetContext().CntpctEl0;
}
+ public static ulong GetCntvctEl0()
+ {
+ return GetContext().CntvctEl0;
+ }
+
public static void SetFpcr(ulong value)
{
GetContext().Fpcr = (FPCR)value;