diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Noddybox.Emulation/Clock.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/Noddybox.Emulation/Clock.cs b/src/Noddybox.Emulation/Clock.cs index 7fcd0fb..7347900 100644 --- a/src/Noddybox.Emulation/Clock.cs +++ b/src/Noddybox.Emulation/Clock.cs @@ -31,7 +31,7 @@ namespace Noddybox.Emulation private uint noLines;
private uint cyclesPerVbl;
- private int line;
+ private int line;
private uint cycles;
#endregion
@@ -102,6 +102,11 @@ namespace Noddybox.Emulation /// </summary>
public ulong TotalCyclesPerFrame {get; private set;}
+ /// <summary>
+ /// Gets the number of ticks since the last event.
+ /// </summary>
+ public uint Cycles {get {return cycles;}}
+
#endregion
#region Public members
|