pub struct Fader {
pub fade_register: u8,
pub fade_start: i64,
pub fade_slow_seconds: f64,
pub fade_fast_seconds: f64,
pub pcetech_slow_seconds: f64,
pub pcetech_fast_seconds: f64,
pub pcetech_fade: bool,
}Expand description
The $180F fader: the register, when its timer started, and the fade times.
Fade times, linear. Default: [mfr: Hudson BIOS manual CD_FADE “6.0 s / 2.5 s”, tier 3; Mesen2
and Mednafen agree, tier 5]. The manufacturer’s manual outranks pcetech’s research text.
Switch: pcetech_fade = true selects [hw: pcetech 8] “silence in about 8 seconds” (value
8-9) and “about 2 seconds” (C-D), tier 2.
Fields§
§fade_register: u8§fade_start: i64§fade_slow_seconds: f64§fade_fast_seconds: f64§pcetech_slow_seconds: f64§pcetech_fast_seconds: f64§pcetech_fade: boolImplementations§
Trait Implementations§
impl Copy for Fader
impl StructuralPartialEq for Fader
Auto Trait Implementations§
impl Freeze for Fader
impl RefUnwindSafe for Fader
impl Send for Fader
impl Sync for Fader
impl Unpin for Fader
impl UnwindSafe for Fader
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more