mirror of
https://github.com/italicsjenga/agb.git
synced 2025-01-26 00:56:38 +11:00
Fix the example after rebase
This commit is contained in:
parent
3f3b34c250
commit
333797332e
1 changed files with 7 additions and 3 deletions
|
@ -27,9 +27,13 @@ pub fn main() -> ! {
|
||||||
sound::dmg::DutyCycle::Half,
|
sound::dmg::DutyCycle::Half,
|
||||||
);
|
);
|
||||||
|
|
||||||
gba.sound
|
gba.sound.noise().play_sound(
|
||||||
.noise()
|
Some(0),
|
||||||
.play_sound(Some(0), &sound::EnvelopeSettings::default(), 4, false, 1);
|
&sound::dmg::EnvelopeSettings::default(),
|
||||||
|
4,
|
||||||
|
false,
|
||||||
|
1,
|
||||||
|
);
|
||||||
|
|
||||||
loop {}
|
loop {}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue