summaryrefslogtreecommitdiff
path: root/src/Noddybox.Emulation.EightBit
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2012-07-11 23:15:47 +0000
committerIan C <ianc@noddybox.co.uk>2012-07-11 23:15:47 +0000
commit63f74c7b23bd861c3873266ae7ba759ee30d8af6 (patch)
tree47c90123c01cc35c6be6d4138ae108f4ff5705b0 /src/Noddybox.Emulation.EightBit
parentbcf9a06fedbfc3978fe18a065fcc755bad2196ba (diff)
Added an opcode-level callback method for running the CPU.
Added a simple mode to the clock.
Diffstat (limited to 'src/Noddybox.Emulation.EightBit')
-rw-r--r--src/Noddybox.Emulation.EightBit/ICpu.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Noddybox.Emulation.EightBit/ICpu.cs b/src/Noddybox.Emulation.EightBit/ICpu.cs
index 1ee7781..39e31cb 100644
--- a/src/Noddybox.Emulation.EightBit/ICpu.cs
+++ b/src/Noddybox.Emulation.EightBit/ICpu.cs
@@ -26,7 +26,7 @@ namespace Noddybox.Emulation.EightBit
/// the callback.</param>
/// <returns>True if the CPU should continue executing, or false if not. Users should simply
/// return Clock.VBL if they need no other than clock control.</returns>
- public delegate bool CpuCallback(object sender);
+ public delegate bool CpuCallback(ICpu sender);
/// <summary>
/// Defines an 8-bit CPU.