diff options
feat: More feature=32k
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index 0925bd4..edd7f87 100644 --- a/src/main.rs +++ b/src/main.rs @@ -11,7 +11,7 @@ use std::time::{Duration, SystemTime}; use sdl2::{event::Event, keyboard::Keycode}; -#[cfg(not(feature = "notimeout"))] +#[cfg(all(not(feature = "notimeout"), not(feature = "32k")))] const TIMEOUT_DEATH: f64 = render::JUST_DVD + 20.0; pub fn main() { @@ -39,7 +39,7 @@ pub fn main() { .expect("Time went back between frames"); let time = f64::from(time.as_millis() as u32) / 1000.0; - #[cfg(not(feature = "notimeout"))] + #[cfg(all(not(feature = "notimeout"), not(feature = "32k")))] if time > TIMEOUT_DEATH { break 'running; } |