From e47f2eb23b624428323bcab0fb6781cc6d107e38 Mon Sep 17 00:00:00 2001 From: Astatin Date: Tue, 22 Jul 2025 22:24:53 +0200 Subject: Add different verbosity levels --- src/io.rs | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'src/io.rs') diff --git a/src/io.rs b/src/io.rs index 06775a2..8cc7b22 100644 --- a/src/io.rs +++ b/src/io.rs @@ -4,6 +4,7 @@ use std::{thread, time}; use crate::audio::MutableWave; use crate::consts; use crate::state::GBState; +use crate::logs::{log, elog, LogLevel}; pub trait Input { fn update_events(&mut self, cycles: u128) -> Option; @@ -108,10 +109,10 @@ impl Gameboy Gameboy Gameboy Gameboy Gameboy