mirror of
https://github.com/GearsProgress/Poke_Transporter_GB.git
synced 2026-10-23 16:03:34 -05:00
Applying formatting and moving libraries into specific folders
This commit is contained in:
@@ -1,18 +1,13 @@
|
||||
#include "interrupt.h"
|
||||
#include "libraries/libugba/include/ugba.h"
|
||||
|
||||
void interrupt_init(void) {
|
||||
IRQ_Init();
|
||||
void interrupt_init(void) { IRQ_Init(); }
|
||||
|
||||
void interrupt_set_handler(interrupt_index index, interrupt_vector function)
|
||||
{
|
||||
IRQ_SetHandler((irq_index)index, function);
|
||||
}
|
||||
|
||||
void interrupt_set_handler(interrupt_index index, interrupt_vector function) {
|
||||
IRQ_SetHandler((irq_index)index, function);
|
||||
}
|
||||
void interrupt_enable(interrupt_index index) { IRQ_Enable((irq_index)index); }
|
||||
|
||||
void interrupt_enable(interrupt_index index) {
|
||||
IRQ_Enable((irq_index)index);
|
||||
}
|
||||
|
||||
void interrupt_disable(interrupt_index index) {
|
||||
IRQ_Disable((irq_index)index);
|
||||
}
|
||||
void interrupt_disable(interrupt_index index) { IRQ_Disable((irq_index)index); }
|
||||
|
||||
Reference in New Issue
Block a user