From e62b66dd08ca445d1f7e5b802a503ad3ec83b2df Mon Sep 17 00:00:00 2001 From: Melodi <62381002+Melodi17@users.noreply.github.com> Date: Fri, 8 Aug 2025 23:57:26 +1000 Subject: added branching to compiler and comment generation --- Emulator/Chip/RamDevice.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Emulator/Chip/RamDevice.cs') diff --git a/Emulator/Chip/RamDevice.cs b/Emulator/Chip/RamDevice.cs index 8d5b051..a40713a 100644 --- a/Emulator/Chip/RamDevice.cs +++ b/Emulator/Chip/RamDevice.cs @@ -6,14 +6,14 @@ public class RamDevice : BusDevice public RamDevice(u16 start, u16 size) : base(start, (u16) (start + size)) { - this.Memory = new u8[size]; + this.Memory = new u8[size]; } - + public override void Reset() { this.Memory = new u8[this.AddressableEnd - this.AddressableStart]; } - + public override void Clock() { // No clocking needed for RAM -- cgit v1.3.1