summaryrefslogtreecommitdiff
path: root/src/boot_O2_g3
diff options
context:
space:
mode:
Diffstat (limited to 'src/boot_O2_g3')
-rw-r--r--src/boot_O2_g3/fault.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/boot_O2_g3/fault.c b/src/boot_O2_g3/fault.c
index 1f5503445..bc7e8d34a 100644
--- a/src/boot_O2_g3/fault.c
+++ b/src/boot_O2_g3/fault.c
@@ -29,7 +29,7 @@ const char* sFpuExceptions[] = {
};
void Fault_SleepImpl(u32 duration) {
- u64 value = (duration * OS_CPU_COUNTER) / 1000ull;
+ u64 value = (duration * OS_CPU_COUNTER) / 1000ULL;
Sleep_Cycles(value);
}
@@ -702,8 +702,9 @@ void Fault_ResumeThread(OSThread* t) {
osStartThread(t);
}
-void Fault_CommitFB() {
+void Fault_CommitFB(void) {
u16* fb;
+
osViSetYScale(1.0f);
osViSetMode(&osViModeNtscLan1);
osViSetSpecialFeatures(0x42); // gama_disable|dither_fliter_enable_aa_mode3_disable