mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-04 15:04:31 +00:00
first pass (#1185)
This commit is contained in:
parent
4729ac131a
commit
791d9018c0
7 changed files with 26 additions and 33 deletions
|
@ -24,7 +24,7 @@ UCodeInfo D_8012D248[3] = {
|
|||
};
|
||||
// clang-format on
|
||||
|
||||
void Graph_FaultClient() {
|
||||
void Graph_FaultClient(void) {
|
||||
void* nextFb = osViGetNextFramebuffer();
|
||||
void* newFb = ((u32)SysCfb_GetFbPtr(0) != (u32)nextFb) ? SysCfb_GetFbPtr(0) : SysCfb_GetFbPtr(1);
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
if (x & DPC_STATUS_##name) \
|
||||
osSyncPrintf(#name " ")
|
||||
|
||||
void RcpUtils_PrintRegisterStatus() {
|
||||
void RcpUtils_PrintRegisterStatus(void) {
|
||||
u32 spStatus = __osSpGetStatus();
|
||||
u32 dpStatus = osDpGetStatus();
|
||||
|
||||
|
|
|
@ -49,6 +49,6 @@ u32 SysCfb_GetFbPtr(s32 idx) {
|
|||
return 0;
|
||||
}
|
||||
|
||||
u32 SysCfb_GetFbEnd() {
|
||||
u32 SysCfb_GetFbEnd(void) {
|
||||
return sSysCfbEnd;
|
||||
}
|
||||
|
|
|
@ -67,7 +67,7 @@ void KaleidoManager_Init(GlobalContext* globalCtx) {
|
|||
gKaleidoMgrCurOvl = 0;
|
||||
}
|
||||
|
||||
void KaleidoManager_Destroy() {
|
||||
void KaleidoManager_Destroy(void) {
|
||||
if (gKaleidoMgrCurOvl != NULL) {
|
||||
KaleidoManager_ClearOvl(gKaleidoMgrCurOvl);
|
||||
gKaleidoMgrCurOvl = NULL;
|
||||
|
|
|
@ -10,7 +10,7 @@ PauseMapMarksData* gLoadedPauseMarkDataTable;
|
|||
extern void KaleidoScope_Update(GlobalContext* globalCtx);
|
||||
extern void KaleidoScope_Draw(GlobalContext* globalCtx);
|
||||
|
||||
void KaleidoScopeCall_LoadPlayer() {
|
||||
void KaleidoScopeCall_LoadPlayer(void) {
|
||||
KaleidoMgrOverlay* playerActorOvl = &gKaleidoMgrOverlayTable[KALEIDO_OVL_PLAYER_ACTOR];
|
||||
|
||||
if (gKaleidoMgrCurOvl != playerActorOvl) {
|
||||
|
|
|
@ -81,7 +81,7 @@ void* ZeldaArena_Calloc(u32 num, u32 size) {
|
|||
return ret;
|
||||
}
|
||||
|
||||
void ZeldaArena_Display() {
|
||||
void ZeldaArena_Display(void) {
|
||||
osSyncPrintf("ゼルダヒープ表示\n"); // "Zelda heap display"
|
||||
__osDisplayArena(&sZeldaArena);
|
||||
}
|
||||
|
@ -90,7 +90,7 @@ void ZeldaArena_GetSizes(u32* outMaxFree, u32* outFree, u32* outAlloc) {
|
|||
ArenaImpl_GetSizes(&sZeldaArena, outMaxFree, outFree, outAlloc);
|
||||
}
|
||||
|
||||
void ZeldaArena_Check() {
|
||||
void ZeldaArena_Check(void) {
|
||||
__osCheckArena(&sZeldaArena);
|
||||
}
|
||||
|
||||
|
@ -99,11 +99,11 @@ void ZeldaArena_Init(void* start, u32 size) {
|
|||
__osMallocInit(&sZeldaArena, start, size);
|
||||
}
|
||||
|
||||
void ZeldaArena_Cleanup() {
|
||||
void ZeldaArena_Cleanup(void) {
|
||||
gZeldaArenaLogSeverity = LOG_SEVERITY_NOLOG;
|
||||
__osMallocCleanup(&sZeldaArena);
|
||||
}
|
||||
|
||||
u8 ZeldaArena_IsInitalized() {
|
||||
u8 ZeldaArena_IsInitalized(void) {
|
||||
return __osMallocIsInitalized(&sZeldaArena);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue