summaryrefslogtreecommitdiff
path: root/Chip/Bus.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Chip/Bus.cs')
-rw-r--r--Chip/Bus.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Chip/Bus.cs b/Chip/Bus.cs
index e8cf5ad..951d23f 100644
--- a/Chip/Bus.cs
+++ b/Chip/Bus.cs
@@ -39,7 +39,7 @@ public class Bus : BusDevice
{
BusDevice? device = this.GetDevice(address);
if (device == null)
- return [];
+ return new u8[length];
return device.ReadSeq(address, length);
}