mirror of
https://github.com/italicsjenga/gba.git
synced 2024-12-23 10:51:30 +11:00
fix a critical typo
This commit is contained in:
parent
456e4f4fc0
commit
5c5081ddc4
|
@ -112,7 +112,7 @@ pub unsafe fn Stop() {
|
|||
pub unsafe fn IntrWait(discard_current_flags: bool, flags: crate::mmio_types::InterruptFlags) {
|
||||
// Note(Lokathor): we don't mark this preserves_flags because the user's IRQ
|
||||
// handler gets called which might end up trashing the flags.
|
||||
asm!("swi 0x03",
|
||||
asm!("swi 0x04",
|
||||
inlateout("r0") discard_current_flags as u8 => _,
|
||||
inlateout("r1") flags.0 => _,
|
||||
out("r3") _,
|
||||
|
|
Loading…
Reference in a new issue