pub fn tick(&mut self) {
		if self.frequency_count > 0 {
			self.frequency_count -= 1;
		} else if self.frequency_count == 0 {
			self.frequency_count = (2048 - self.frequency_load) * 4;
			self.sequence_pointer = (self.sequence_pointer + 1) % 8;
		}
	}
// Channel NR23/NR24 frequency tick
Channel NR23/NR24 frequency tick
Channel NR23 / NR24 frequency tick
pub fn tick(&mut self) {
		if self.frequency_count > 0 {
			self.frequency_count -= 1;
		} else if self.frequency_count == 0 {
			self.frequency_count = (2048 - self.frequency_load) * 4;
			self.sequence_pointer = (self.sequence_pointer + 1) % 8;
		}
	}
pub fn tick ( & mut self ) { if self . frequency_count > 0 { self . frequency_count -= 1 ; } else if self . frequency_count == 0 { self . frequency_count = ( 2048 - self . frequency_load ) * 4 ; self . sequence_pointer = ( self . sequence_pointer + 1 ) % 8 ; } }
Channel NR23/NR24 frequency tick
Channel NR23 / NR24 frequency tick
&mut self
&mut self