mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-17 21:35:11 +00:00
Decompile z_map_exp.c (2 non matchings left) (#104)
Also documented the map data table (not decompiled yet however), and added a DungeonItem enum to use with gSaveContext.dungeonItems reads/writes.
This commit is contained in:
parent
9f1c996db5
commit
9f98210488
36 changed files with 894 additions and 1998 deletions
|
@ -16,8 +16,7 @@ s32 osReadMempak(OSMesgQueue* ctrlrqueue, s32 ctrlridx, u16 addr, PIF_mempak_dat
|
|||
_osCont_lastPollType = 2;
|
||||
D_80134D20 = ctrlridx;
|
||||
// clang-format off
|
||||
// NOLINTNEXTLINE
|
||||
for (i = 0; i < ctrlridx; i++) *bufptr++ = 0;
|
||||
for (i = 0; i < ctrlridx; i++) { *bufptr++ = 0; }
|
||||
// clang-format on
|
||||
pifMempakBuf.status_control = 1;
|
||||
((PIF_header_t*)bufptr)->slot_type = 0xff;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue