From 482e95f4e4ac0882a06e2556db92960462cbc14f Mon Sep 17 00:00:00 2001 From: Caladius Date: Thu, 6 Nov 2025 08:51:19 -0500 Subject: Update to u16 --- mm/2s2h/Rando/DrawItem.cpp | 2 +- mm/include/z64save.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/2s2h/Rando/DrawItem.cpp b/mm/2s2h/Rando/DrawItem.cpp index 73e752e4f..fa96c72db 100644 --- a/mm/2s2h/Rando/DrawItem.cpp +++ b/mm/2s2h/Rando/DrawItem.cpp @@ -364,7 +364,7 @@ void DrawTriforcePiece(RandoItemId randoItemId) { (Gfx*)gTriforcePiece2DL, }; - u8 currentTriforcePieces = gSaveContext.save.shipSaveInfo.rando.foundTriforcePieces; + u16 currentTriforcePieces = gSaveContext.save.shipSaveInfo.rando.foundTriforcePieces; OPEN_DISPS(gPlayState->state.gfxCtx); diff --git a/mm/include/z64save.h b/mm/include/z64save.h index 3dfb34a14..a52f79ab2 100644 --- a/mm/include/z64save.h +++ b/mm/include/z64save.h @@ -387,7 +387,7 @@ typedef struct RandoSaveInfo { u32 randoSaveOptions[RO_MAX]; // Type here may change in the future char randoStartingItems[512]; s8 foundDungeonKeys[9]; // Tracks the number of dungeon keys found, opposed to the number of keys in the inventory - u8 foundTriforcePieces; + u16 foundTriforcePieces; } RandoSaveInfo; // These are values added by 2S2H that we need to be persisted to the save file -- cgit v1.2.3