fix: replace MathTarget::HL and ::SP with already-existing enums

This commit is contained in:
2021-01-19 02:05:04 -06:00
parent b70c398e14
commit 842e670807
3 changed files with 12 additions and 15 deletions

View File

@@ -19,7 +19,7 @@ fn main() -> Result<()> {
let mut input = WinitInputHelper::new();
let window = create_window(&event_loop)?;
let mut pixels = create_pixels(&window)?;
let mut game_boy = LR35902::boot_new();
let mut game_boy = LR35902::new();
game_boy.load_cartridge("bin/cpu_instrs.gb");
event_loop.run(move |event, _, control_flow| {