mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-18 05:44:53 +00:00
[iQue] Match osViSetMode (#2404)
This commit is contained in:
parent
c6cceea85b
commit
aaf9c939a4
4 changed files with 10 additions and 2 deletions
|
@ -4,6 +4,12 @@
|
|||
void osViSetMode(OSViMode* mode) {
|
||||
register u32 prevInt = __osDisableInt();
|
||||
|
||||
#ifdef BBPLAYER
|
||||
if (__osBbIsBb) {
|
||||
mode->comRegs.ctrl &= ~VI_CTRL_PIXEL_ADV(2);
|
||||
}
|
||||
#endif
|
||||
|
||||
__osViNext->modep = mode;
|
||||
__osViNext->state = VI_STATE_MODE_SET;
|
||||
__osViNext->features = __osViNext->modep->comRegs.ctrl;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue