summaryrefslogtreecommitdiff
path: root/Q1.core/Components/Memory.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Q1.core/Components/Memory.cs')
-rw-r--r--Q1.core/Components/Memory.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Q1.core/Components/Memory.cs b/Q1.core/Components/Memory.cs
index 9d23c7a..38c33ee 100644
--- a/Q1.core/Components/Memory.cs
+++ b/Q1.core/Components/Memory.cs
@@ -1,6 +1,6 @@
namespace Q1.core.Components;
-public class Memory : IAddressable
+public class Memory : IBusDevice
{
private readonly u8[] _memory;
@@ -17,5 +17,5 @@ public class Memory : IAddressable
public u8 Read(u16 address) => this._memory[address];
public void Write(u16 address, u8 value) => this._memory[address] = value;
- public void Clock() { /* No timing behavior for simple memory */ }
+ public void Clock(Bus bus) { /* No timing behavior for simple memory */ }
} \ No newline at end of file