mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 16:21:33 +11:00
Don't need to do the mod3_estimate here too
This commit is contained in:
parent
c031e9b002
commit
6f2c1bc616
|
@ -337,7 +337,7 @@ const fn mod3_estimate(x: usize) -> usize {
|
|||
|
||||
impl MixerBufferState {
|
||||
fn should_calculate(&self) -> bool {
|
||||
mod3_estimate(self.active_buffer + 1) != mod3_estimate(self.playing_buffer)
|
||||
mod3_estimate(self.active_buffer + 1) != self.playing_buffer
|
||||
}
|
||||
|
||||
fn playing_advanced(&mut self) -> usize {
|
||||
|
|
Loading…
Reference in a new issue