General Cleanup 4 (#871)

* PartTimerWorker -> PartTimer

* cleanup

* format

* objChan draw macro

* Fix macro

* Fix warning

* PR Review

* Missed 1 ull

* UINT16_MAX

* Remove todo from footmark

* Remove * from tex in AnimatedMat_DrawTexCycle
This commit is contained in:
Derek Hensley
2022-07-11 20:06:21 -07:00
committed by GitHub
parent 81ce7bebcc
commit 85b19de4ab
99 changed files with 447 additions and 438 deletions
+3 -2
View File
@@ -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