summaryrefslogtreecommitdiff
path: root/Chip/Bus.cs
diff options
context:
space:
mode:
authorMelodi <62381002+Melodi17@users.noreply.github.com>2025-08-04 12:07:39 +1000
committerMelodi <62381002+Melodi17@users.noreply.github.com>2025-08-04 12:07:39 +1000
commit72f297a479b6749674ec80e91be53b8c482123d2 (patch)
tree05465784b2b5b5adbd695b50e8394c6f78e3a455 /Chip/Bus.cs
parent86452af2d48e2d1883dbfd67316e371f2a593bfe (diff)
crowbar
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);
}