Skip to content

Commit cbb9aab

Browse files
committed
Do not handle the write gather pipe as a single type
1 parent 032c0c5 commit cbb9aab

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

ttyd-tools/rel/include/global.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,6 @@ extern uint32_t FieldItemsAddressesStart;
708708
extern uint32_t GlobalWorkPointer;
709709
extern uint32_t titleMainAddress;
710710
extern uint32_t ConsoleBusSpeedAddress;
711-
extern volatile float *WriteGatherPipe;
712711

713712
extern bool ResetMarioProperties;
714713
extern int16_t ForcedNPCItemDrop;

ttyd-tools/rel/source/codes.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ void displayArtAttackHitboxes()
8080
uint32_t HitboxLineColor = 0x59000000;
8181
gc::gx::GXSetChanMatColor(gc::gx::GX_COLOR0A0, reinterpret_cast<uint8_t *>(&HitboxLineColor));
8282

83+
// Get the address of the write gather pipe, and handle the value at the address as a float
84+
volatile float *WriteGatherPipe = reinterpret_cast<float *>(0xCC008000);
85+
8386
for (uint32_t Slot = 0; Slot < 64; Slot++)
8487
{
8588
void *BattleUnitPtr = getActorPointer(Slot);

ttyd-tools/rel/source/global.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1405,7 +1405,6 @@ uint32_t FieldItemsAddressesStart = 0x803E82F4;
14051405
uint32_t GlobalWorkPointer = r13 - 0x6F50;
14061406
uint32_t titleMainAddress = r13 - 0x7F80;
14071407
uint32_t ConsoleBusSpeedAddress = 0x800000F8;
1408-
volatile float *WriteGatherPipe = reinterpret_cast<float *>(0xCC008000);
14091408

14101409
// Variables used by cheats
14111410
bool ResetMarioProperties = false;

0 commit comments

Comments
 (0)