mirror of
https://github.com/transistorfet/moa.git
synced 2024-11-22 10:32:59 +00:00
Fixed minor issue preventing the TRS-80 from working
This commit is contained in:
parent
b4a80c6969
commit
ac8e9c968c
@ -29,7 +29,7 @@ impl Trs80Options {
|
|||||||
pub fn build_trs80<H: Host>(host: &mut H, options: Trs80Options) -> Result<System, Error> {
|
pub fn build_trs80<H: Host>(host: &mut H, options: Trs80Options) -> Result<System, Error> {
|
||||||
let mut system = System::new();
|
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/level1.rom")?;
|
||||||
//rom.load_at(0x0000, "binaries/trs80/level2.rom")?;
|
//rom.load_at(0x0000, "binaries/trs80/level2.rom")?;
|
||||||
rom.load_at(0x0000, &options.rom)?;
|
rom.load_at(0x0000, &options.rom)?;
|
||||||
|
Loading…
Reference in New Issue
Block a user