From 87092ea395b910c2c40c5e1244ebec51032c064a Mon Sep 17 00:00:00 2001 From: Astatin Date: Tue, 22 Jul 2025 22:50:33 +0200 Subject: cargo fmt --- src/io.rs | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) (limited to 'src/io.rs') diff --git a/src/io.rs b/src/io.rs index 8cc7b22..730fc55 100644 --- a/src/io.rs +++ b/src/io.rs @@ -3,8 +3,8 @@ use std::{thread, time}; use crate::audio::MutableWave; use crate::consts; +use crate::logs::{elog, log, LogLevel}; use crate::state::GBState; -use crate::logs::{log, elog, LogLevel}; pub trait Input { fn update_events(&mut self, cycles: u128) -> Option; @@ -105,14 +105,22 @@ impl Gameboy Gameboy Result<(), LS::Error> { self.load_save.dump_state(&mut self.state)?; Ok(()) @@ -228,7 +235,10 @@ impl Gameboy