mirror of
https://github.com/italicsjenga/agb.git
synced 2025-01-11 17:41:33 +11:00
Make clippy happy by using .add rather than .offset
This commit is contained in:
parent
f1b6b1035b
commit
9f259fdc0a
|
@ -146,7 +146,7 @@ impl MixerBuffer {
|
|||
|
||||
unsafe {
|
||||
agb_rs__mixer_add(
|
||||
channel.data.as_ptr().offset(channel.pos.floor() as isize),
|
||||
channel.data.as_ptr().add(channel.pos.floor()),
|
||||
buffer.as_mut_ptr(),
|
||||
channel.playback_speed,
|
||||
left_amount,
|
||||
|
|
Loading…
Reference in a new issue