mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 16:21:33 +11:00
Make wait_for_vblank syscall pub(crate)
This commit is contained in:
parent
ba8655070d
commit
827afd87b9
|
@ -56,7 +56,7 @@ pub fn wait_for_interrupt() {
|
||||||
|
|
||||||
/// The vblank interrupt handler [VBlank][crate::interrupt::VBlank] should be
|
/// The vblank interrupt handler [VBlank][crate::interrupt::VBlank] should be
|
||||||
/// used instead of calling this function directly.
|
/// used instead of calling this function directly.
|
||||||
pub fn wait_for_vblank() {
|
pub(crate) fn wait_for_vblank() {
|
||||||
unsafe {
|
unsafe {
|
||||||
asm!(
|
asm!(
|
||||||
"swi {SWI}",
|
"swi {SWI}",
|
||||||
|
|
Loading…
Reference in a new issue