diff --git a/src/main.rs b/src/main.rs index d9a7271..b16a944 100644 --- a/src/main.rs +++ b/src/main.rs @@ -46,7 +46,7 @@ fn main() { let loopchip8 = chip8arc.clone(); std::thread::spawn(move || { let beeper = crate::audio::Beeper::new(flags.vol); - let beeperexist = beeper.is_ok() && flags.vol <= 0.0 && flags.vol <= 0.0; + let beeperexist = beeper.is_ok() && flags.vol > 0.0; if !beeperexist { println!("Audio not initialized!"); }