Renamed decompiled functions.

This commit is contained in:
David Benepe
2022-09-24 15:11:47 -04:00
parent 8dc1121888
commit bbdb633c03
3 changed files with 6 additions and 7 deletions
+1 -1
View File
@@ -906,7 +906,7 @@ void main_game_loop(void) {
set_rsp_segment(&gCurrDisplayList, 4, (s32)gVideoCurrFramebuffer - 0x500);
}
if (D_800DD3F0 == 0) {
setupOSTasks(gDisplayLists[gSPTaskNum], gCurrDisplayList, 0);
setup_ostask_xbus(gDisplayLists[gSPTaskNum], gCurrDisplayList, 0);
gSPTaskNum += 1;
gSPTaskNum &= 1;
}
+4 -5
View File
@@ -175,7 +175,7 @@ OSMesgQueue *osScInterruptQ;
/*******************************/
s32 setupOSTasks(Gfx* arg0, Gfx* arg1, s32 arg2) {
s32 setup_ostask_xbus(Gfx* arg0, Gfx* arg1, s32 arg2) {
DKR_OSTask *dkrtask;
D_800DE4DC = 1;
@@ -214,7 +214,7 @@ s32 setupOSTasks(Gfx* arg0, Gfx* arg1, s32 arg2) {
return 0;
}
void func_800775B0(Gfx* arg0, Gfx* arg1, s32 arg2) {
void setup_ostask_xbus_2(Gfx* arg0, Gfx* arg1, s32 arg2) {
DKR_OSTask *dkrtask;
s32 *sp20;
@@ -260,7 +260,7 @@ void func_800775B0(Gfx* arg0, Gfx* arg1, s32 arg2) {
}
}
void func_80077734(Gfx* arg0, Gfx* arg1, s32 arg2) {
void setup_ostask_fifo(Gfx* arg0, Gfx* arg1, s32 arg2) {
DKR_OSTask *dkrtask;
s32 *sp20;
@@ -284,7 +284,6 @@ void func_80077734(Gfx* arg0, Gfx* arg1, s32 arg2) {
dkrtask->task.dram_stack_size = 0x400;
dkrtask->task.output_buff = gGfxSPTaskYieldBuffer;
dkrtask->task.output_buff_size = gGfxSPTaskYieldBuffer + YIELD_BUFFER_SIZE;
dkrtask->task.yield_data_ptr = D_801271B0;
dkrtask->task.yield_data_size = 0xA00;
dkrtask->unk0 = 0;
@@ -309,7 +308,7 @@ void func_80077734(Gfx* arg0, Gfx* arg1, s32 arg2) {
}
}
void func_800778C8(Gfx* arg0, Gfx* arg1, s32 arg2) {
void setup_ostask_fifo_2(Gfx* arg0, Gfx* arg1, s32 arg2) {
DKR_OSTask *dkrtask;
s32 *sp20;
+1 -1
View File
@@ -70,6 +70,6 @@ void func_800787F0(void);
void render_background(Gfx **dlist, s32 *arg1, s32 arg2);
void render_textured_rectangle(Gfx **dlist, DrawTexture *arg1, s32 xPos, s32 yPos, u8 red, u8 green, u8 blue, u8 alpha);
void render_texture_rectangle_scaled(Gfx **dlist, DrawTexture *element, f32 x, f32 y, f32 x_scale, f32 y_scale, u32 color, s32 flip);
s32 setupOSTasks(Gfx *, Gfx *, s32 arg2); // Not 100% sure about these types, but it matches what main_game_loop is sending.
s32 setup_ostask_xbus(Gfx *, Gfx *, s32 arg2); // Not 100% sure about these types, but it matches what main_game_loop is sending.
#endif