diff options
Diffstat (limited to 'Emulator/Chip/RamDevice.cs')
| -rw-r--r-- | Emulator/Chip/RamDevice.cs | 6 |
1 files changed, 3 insertions, 3 deletions
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 |
