Skip to content

Commit

Permalink
fixed up flag
Browse files Browse the repository at this point in the history
  • Loading branch information
amydevs committed Apr 11, 2022
1 parent 456a839 commit 0949653
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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!");
}
Expand Down

0 comments on commit 0949653

Please sign in to comment.