diff options
-rw-r--r-- | src/Noddybox.Emulation/Clock.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Noddybox.Emulation/Clock.cs b/src/Noddybox.Emulation/Clock.cs index 379287e..c4c5245 100644 --- a/src/Noddybox.Emulation/Clock.cs +++ b/src/Noddybox.Emulation/Clock.cs @@ -89,6 +89,14 @@ namespace Noddybox.Emulation frameCount += ticks;
}
+ /// <summary>
+ /// Reset the clock to its initial state.
+ /// </summary>
+ public void Reset()
+ {
+ frameCount = 0;
+ }
+
#endregion
#region Constructors
|