summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Noddybox.Emulation/Clock.cs8
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