Closer to C++ clocked chip implementation

This commit is contained in:
Adrian Conlon committed 2026-05-28 18:19:34 +01:00
1 parent 110c68a54e
commit 7c2c7a1973
1 file changed
+1 -1
+1 -1
View File
@@ -19,9 +19,9 @@ namespace EightBit
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void Tick(int extra = 1)
{
this.Cycles += extra;
for (var i = 0; i < extra; ++i)
{
++this.Cycles;
this.Ticked?.Invoke(this, EventArgs.Empty);
}
}