From d62c5331fcc37964815d982d941986eafc9cecd5 Mon Sep 17 00:00:00 2001 From: /dev/urandom Date: Sat, 15 Feb 2025 02:56:01 +0100 Subject: feat: More feature=32k --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main.rs') 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; } -- cgit v1.2.3