Inline clock ticking mechanism

This commit is contained in:
Adrian Conlon committed 2026-05-17 10:27:34 +01:00
1 parent 072a8dd984
commit b8e95f52b3
1 file changed
+3
+3
View File
@@ -2,6 +2,8 @@
// Copyright (c) Adrian Conlon. All rights reserved.
// </copyright>
using System.Runtime.CompilerServices;
namespace EightBit
{
public class ClockedChip : Chip
@@ -22,6 +24,7 @@ namespace EightBit
}
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void Tick()
{
++this.Cycles;