Shipwright/soh/src/libultra/io/visetmode.c

12 lines
251 B
C
Raw Normal View History

#include "global.h"
void osViSetMode(OSViMode* mode) {
register u32 prevInt = __osDisableInt();
__osViNext->modep = mode;
__osViNext->state = 1;
__osViNext->features = __osViNext->modep->comRegs.ctrl;
__osRestoreInt(prevInt);
}