mirror of
https://github.com/zeldaret/oot
synced 2026-07-10 23:12:08 -04:00
13 lines
256 B
C
13 lines
256 B
C
#include <global.h>
|
|
|
|
void __osSetHWIntrRoutine(s32 idx, OSMesgQueue* queue, OSMesg msg) {
|
|
register int prevInt;
|
|
|
|
prevInt = __osDisableInt();
|
|
|
|
__osHwIntTable[idx].queue = queue;
|
|
__osHwIntTable[idx].msg = msg;
|
|
|
|
__osRestoreInt(prevInt);
|
|
}
|