diff --git a/src/boot/idle.c b/src/boot/idle.c index 080fdcfb35..d5cbe8d69b 100644 --- a/src/boot/idle.c +++ b/src/boot/idle.c @@ -51,7 +51,7 @@ void Idle_ThreadEntry(void* arg) { osCreateViManager(OS_PRIORITY_VIMGR); - gViConfigFeatures = 0x42; + gViConfigFeatures = OS_VI_GAMMA_OFF | OS_VI_DITHER_FILTER_ON; gViConfigXScale = 1.0f; gViConfigYScale = 1.0f; diff --git a/src/code/fault.c b/src/code/fault.c index a537f821e4..79141e8182 100644 --- a/src/code/fault.c +++ b/src/code/fault.c @@ -894,7 +894,7 @@ void Fault_CommitFB() { u16* fb; osViSetYScale(1.0f); osViSetMode(&osViModeNtscLan1); - osViSetSpecialFeatures(0x42); // gama_disable|dither_fliter_enable_aa_mode3_disable + osViSetSpecialFeatures(OS_VI_GAMMA_OFF | OS_VI_DITHER_FILTER_ON); osViBlack(false); if (sFaultStructPtr->fb) { diff --git a/src/code/sched.c b/src/code/sched.c index 95385f1272..d88af29f89 100644 --- a/src/code/sched.c +++ b/src/code/sched.c @@ -46,10 +46,10 @@ void Sched_SwapFrameBuffer(CfbInfo* cfbInfo) { HREG(95) = 0xD; } if (HREG(80) == 0xD && HREG(81) == 2) { - osViSetSpecialFeatures(HREG(82) != 0 ? 1 : 2); - osViSetSpecialFeatures(HREG(83) != 0 ? 0x40 : 0x80); - osViSetSpecialFeatures(HREG(84) != 0 ? 0x4 : 0x8); - osViSetSpecialFeatures(HREG(85) != 0 ? 0x10 : 0x20); + osViSetSpecialFeatures(HREG(82) != 0 ? OS_VI_GAMMA_ON : OS_VI_GAMMA_OFF); + osViSetSpecialFeatures(HREG(83) != 0 ? OS_VI_DITHER_FILTER_ON : OS_VI_DITHER_FILTER_OFF); + osViSetSpecialFeatures(HREG(84) != 0 ? OS_VI_GAMMA_DITHER_ON : OS_VI_GAMMA_DITHER_OFF); + osViSetSpecialFeatures(HREG(85) != 0 ? OS_VI_DIVOT_ON : OS_VI_DIVOT_OFF); } } cfbInfo->unk_10 = 0;