Skip to content

Commit bcf8011

Browse files
committed
Removed unnecessary uses of clearMemory
1 parent 6d591d1 commit bcf8011

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

ttyd-tools/rel/source/draw.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -981,7 +981,6 @@ void drawMarioStats()
981981
{
982982
// Create array for each stat to go in
983983
int32_t MarioStatsArray[16];
984-
clearMemory(MarioStatsArray, sizeof(MarioStatsArray));
985984

986985
uint32_t PouchPtr = reinterpret_cast<uint32_t>(ttyd::mario_pouch::pouchGetPtr());
987986

@@ -1137,7 +1136,6 @@ void drawPartnerStats()
11371136

11381137
// Create array for each stat to go in
11391138
int16_t PartnerStats[3];
1140-
clearMemory(PartnerStats, sizeof(PartnerStats));
11411139

11421140
// Add each stat to the array
11431141
uint32_t PartnerEnabledAddress = reinterpret_cast<uint32_t>(getPartnerEnabledAddress());
@@ -1379,7 +1377,6 @@ void drawBattlesActorStats()
13791377

13801378
// Create array for each stat to go in
13811379
int16_t ActorStats[4];
1382-
clearMemory(ActorStats, sizeof(ActorStats));
13831380

13841381
// Add each stat to the array
13851382
ActorStats[0] = *reinterpret_cast<int16_t *>(ActorAddress + 0x10C); // HP

0 commit comments

Comments
 (0)