mirror of
https://github.com/zeldaret/mm.git
synced 2026-06-25 17:24:27 -04:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user