mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-14 20:05:02 +00:00
Decompile flg_set.c (#200)
* Decompile flg_set.c * Use a for loop and rename func_8002AAB0 * move the flag set array inside the function
This commit is contained in:
parent
a0ef48e987
commit
a76356090b
11 changed files with 164 additions and 375 deletions
|
@ -158,8 +158,8 @@ void GameState_Draw(GameState* gameState, GraphicsContext* gfxCtx) {
|
|||
Gfx* newDList;
|
||||
Gfx* polyOpaP;
|
||||
Gfx* dispRefs[5];
|
||||
char pad[0x10];
|
||||
GfxPrint printChars[2];
|
||||
char pad[0x8];
|
||||
GfxPrint printChars;
|
||||
|
||||
Graph_OpenDisps(dispRefs, gfxCtx, "../game.c", 746);
|
||||
newDList = Graph_GfxPlusOne(polyOpaP = gfxCtx->polyOpa.p);
|
||||
|
@ -175,11 +175,11 @@ void GameState_Draw(GameState* gameState, GraphicsContext* gfxCtx) {
|
|||
}
|
||||
|
||||
if (R_ENABLE_AUDIO_DBG & 1) {
|
||||
GfxPrint_Ctor(printChars);
|
||||
GfxPrint_Open(printChars, newDList);
|
||||
func_800EEA50(printChars);
|
||||
newDList = GfxPrint_Close(printChars);
|
||||
GfxPrint_Dtor(printChars);
|
||||
GfxPrint_Ctor(&printChars);
|
||||
GfxPrint_Open(&printChars, newDList);
|
||||
func_800EEA50(&printChars);
|
||||
newDList = GfxPrint_Close(&printChars);
|
||||
GfxPrint_Dtor(&printChars);
|
||||
}
|
||||
|
||||
if (R_ENABLE_ARENA_DBG < 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue