fix(bios): set addr_latch even if bios is skipped
This commit is contained in:
@@ -60,11 +60,12 @@ pub fn main() anyerror!void {
|
||||
|
||||
var bus: Bus = undefined;
|
||||
var cpu = Arm7tdmi.init(&scheduler, &bus, log_file);
|
||||
if (paths.bios == null) cpu.fastBoot();
|
||||
|
||||
try bus.init(allocator, &scheduler, &cpu, paths);
|
||||
defer bus.deinit();
|
||||
|
||||
if (paths.bios == null) cpu.fastBoot();
|
||||
|
||||
var gui = Gui.init(&bus.pak.title, &bus.apu, width, height);
|
||||
defer gui.deinit();
|
||||
|
||||
|
Reference in New Issue
Block a user