pub struct UnitSwitches {
pub channel_latch_guard: i64,
pub dma_byte_clocks: i64,
}Expand description
The reference’s CdUnit class attributes, with its defaults.
Fields§
§channel_latch_guard: i64[emu: Mesen2 PceCdRom.cpp, from its test ROMs] a second write to $1805 within this
many master clocks of the first is ignored (tier 5)
dma_byte_clocks: i64[emu: Mesen2 PceAdpcm.cpp, “verificator” test ROM: values 18 to 22 CPU-ticks pass,
higher or lower fail; one tick = 3 master clocks] master clocks from REQ to the DMA
taking the byte
Trait Implementations§
Source§impl Clone for UnitSwitches
impl Clone for UnitSwitches
Source§fn clone(&self) -> UnitSwitches
fn clone(&self) -> UnitSwitches
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UnitSwitches
impl Debug for UnitSwitches
Source§impl Default for UnitSwitches
impl Default for UnitSwitches
Source§impl PartialEq for UnitSwitches
impl PartialEq for UnitSwitches
impl Copy for UnitSwitches
impl Eq for UnitSwitches
impl StructuralPartialEq for UnitSwitches
Auto Trait Implementations§
impl Freeze for UnitSwitches
impl RefUnwindSafe for UnitSwitches
impl Send for UnitSwitches
impl Sync for UnitSwitches
impl Unpin for UnitSwitches
impl UnwindSafe for UnitSwitches
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