From ac8e9c968c8f0ef3bbb30692bb5beb5f2693ac25 Mon Sep 17 00:00:00 2001 From: transistor Date: Wed, 24 Nov 2021 14:38:38 -0800 Subject: [PATCH] Fixed minor issue preventing the TRS-80 from working --- src/machines/trs80.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/machines/trs80.rs b/src/machines/trs80.rs index 5bf78d4..aa03373 100644 --- a/src/machines/trs80.rs +++ b/src/machines/trs80.rs @@ -29,7 +29,7 @@ impl Trs80Options { pub fn build_trs80(host: &mut H, options: Trs80Options) -> Result { let mut system = System::new(); - let mut rom = MemoryBlock::new(vec![0; 0x4000]); + let mut rom = MemoryBlock::new(vec![0; 0x3000]); //rom.load_at(0x0000, "binaries/trs80/level1.rom")?; //rom.load_at(0x0000, "binaries/trs80/level2.rom")?; rom.load_at(0x0000, &options.rom)?;