pub fn step_micros<'a, A, V>(&'a mut self, audio: &mut A, video: &mut V, micros: u32)
    where
        A: AudioDevice,
        V: VideoDevice,
    {
        // This emulates 1.79 cpu cycles per microsecond
        let mut cpu_cycles = ((micros * 179) / 100) as i32;
        while cpu_cycles > 0 {
            cpu_cycles -= self.step(audio, video);
        }
    }
/// Advance the console by a certain number of micro seconds.
Advance the console by a certain number of micro seconds.
Advance the console by a certain number of micro seconds .
pub fn step_micros<'a, A, V>(&'a mut self, audio: &mut A, video: &mut V, micros: u32)
    where
        A: AudioDevice,
        V: VideoDevice,
    {
        // This emulates 1.79 cpu cycles per microsecond
        let mut cpu_cycles = ((micros * 179) / 100) as i32;
        while cpu_cycles > 0 {
            cpu_cycles -= self.step(audio, video);
        }
    }
pub fn step_micros < ' a , A , V > ( & ' a mut self , audio : & mut A , video : & mut V , micros : u32 ) where A : AudioDevice , V : VideoDevice , { // This emulates 1.79 cpu cycles per microsecond let mut cpu_cycles = ( ( micros * 179 ) / 100 ) as i32 ; while cpu_cycles > 0 { cpu_cycles -= self . step ( audio , video ) ; } }
Advance the console by a certain number of micro seconds.
Advance the console by a certain number of micro seconds .
&'a mut self
audio
&mut A
video
&mut V
micros
u32
&'a mut self
audio
&mut A
video
&mut V
micros
u32