From 827afd87b98d8a0ef65d1add20e3eae076c35b11 Mon Sep 17 00:00:00 2001 From: Gwilym Kuiper Date: Thu, 12 Jan 2023 21:24:37 +0000 Subject: [PATCH] Make wait_for_vblank syscall pub(crate) --- agb/src/syscall.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agb/src/syscall.rs b/agb/src/syscall.rs index 5d8f66a2..059bb66c 100644 --- a/agb/src/syscall.rs +++ b/agb/src/syscall.rs @@ -56,7 +56,7 @@ pub fn wait_for_interrupt() { /// The vblank interrupt handler [VBlank][crate::interrupt::VBlank] should be /// used instead of calling this function directly. -pub fn wait_for_vblank() { +pub(crate) fn wait_for_vblank() { unsafe { asm!( "swi {SWI}",