1
0
mirror of https://github.com/zeldaret/oot.git synced 2024-09-23 13:54:44 +00:00
oot/src/libultra_boot_O2/osViSetYScale.c

11 lines
207 B
C
Raw Normal View History

2020-03-17 04:31:30 +00:00
#include <global.h>
2020-03-22 21:19:43 +00:00
void osViSetYScale(float scale) {
2020-03-17 04:31:30 +00:00
register s32 prevInt;
prevInt = __osDisableInt();
__osViNext->y.factor = scale;
__osViNext->state |= 4;
__osRestoreInt(prevInt);
}