summaryrefslogtreecommitdiff
path: root/src/code/z_sram.c
diff options
context:
space:
mode:
authorDragorn421 <Dragorn421@users.noreply.github.com>2022-06-13 08:38:20 -0700
committerGitHub <noreply@github.com>2022-06-13 17:38:20 +0200
commit0832b5af6820c231c411cf7029db234e85ff857b (patch)
tree96acaa849bd211017fe56368dc2102ed57a11b84 /src/code/z_sram.c
parent93a6a1eb9abd2f70a28c6c87260580d6725bd85b (diff)
Fix misc 14 (#1279)
* Remove fake temp in `BossDodongo_DrawEffects` * `OS_WRITE` for `__osSpRawStartDma` `direction` * remove outdated comment * fixup osRecvMesg * make sShopkeeperStores static * `PHYSICAL_TO_VIRTUAL(gSegments[0])` -> `SEGMENTED_TO_VIRTUAL(NULL)` (mimics `CollisionHeader_SegmentedToVirtual`) * Run formatter * Remove assets from include path in suggested vscode properties * Fix `osCreateMesgQueue` getting `OS_MESG_BLOCK` as `count` instead of `1`
Diffstat (limited to 'src/code/z_sram.c')
-rw-r--r--src/code/z_sram.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/code/z_sram.c b/src/code/z_sram.c
index a0d58fbff..6041503d6 100644
--- a/src/code/z_sram.c
+++ b/src/code/z_sram.c
@@ -448,7 +448,6 @@ void Sram_OpenSave(SramContext* sramCtx) {
}
}
- // check for owning master sword.. to restore master sword? bug or debug feature?
if (LINK_AGE_IN_YEARS == YEARS_ADULT && !CHECK_OWNED_EQUIP(EQUIP_TYPE_SWORD, EQUIP_INV_SWORD_MASTER)) {
gSaveContext.inventory.equipment |= OWNED_EQUIP_FLAG(EQUIP_TYPE_SWORD, EQUIP_INV_SWORD_MASTER);
gSaveContext.equips.buttonItems[0] = ITEM_SWORD_MASTER;