mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-10 17:00:19 +00:00
More documentation for sched.c (#1219)
* More documentation for sched.c * VI retrace -> vertical retrace, attempt to clarify comment in viconfig * Further review changes, fix inconsistent capitalization of PreNMI (PRENMI -> PreNMI) * Fix typo Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> * Change TaskSwapBuffer, change comment on OS_SC_DRAM_DLIST to unimplemented * Rename SchedContext/gSchedContext to Scheduler/gScheduler * Comments fixes Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com> * Format Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
This commit is contained in:
parent
ee5ac838b6
commit
1738b19d63
20 changed files with 449 additions and 268 deletions
|
@ -1,5 +1,5 @@
|
|||
#include "global.h"
|
||||
|
||||
void osSpTaskYield(void) {
|
||||
__osSpSetStatus(SP_STATUS_SIG3);
|
||||
__osSpSetStatus(SP_SET_SIG0);
|
||||
}
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
#include "global.h"
|
||||
|
||||
u32* osViGetCurrentFramebuffer(void) {
|
||||
void* osViGetCurrentFramebuffer(void) {
|
||||
register u32 prevInt = __osDisableInt();
|
||||
u32* var1 = __osViCurr->buffer;
|
||||
void* buffer = __osViCurr->buffer;
|
||||
|
||||
__osRestoreInt(prevInt);
|
||||
|
||||
return var1;
|
||||
return buffer;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue