summaryrefslogtreecommitdiff
path: root/src/code/code_800FC620.c
diff options
context:
space:
mode:
authorRoman971 <32455037+Roman971@users.noreply.github.com>2021-09-05 20:41:02 +0200
committerGitHub <noreply@github.com>2021-09-05 14:41:02 -0400
commit3d57eaf01993f14d75eab1766256d1a8d808943a (patch)
treeb00b2392429734ed9e068733a5503e64a0539820 /src/code/code_800FC620.c
parentd874cd08fce72191d48fcc0341f8fcabfa842b8e (diff)
Add do whiles to all remaining gbi macros (#946)
* Add do whiles to all remaining gbi macros * Cleanup and remove unnecessary do whiles
Diffstat (limited to 'src/code/code_800FC620.c')
-rw-r--r--src/code/code_800FC620.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/code/code_800FC620.c b/src/code/code_800FC620.c
index a3b1475ab..d268af5ac 100644
--- a/src/code/code_800FC620.c
+++ b/src/code/code_800FC620.c
@@ -157,10 +157,9 @@ void func_800FCA18(void* blk, u32 nBlk, u32 blkSize, arg3_800FCA18 arg3, s32 arg
if (masked_arg2) {}
while (pos > end) {
- do {
- pos -= masked_arg2;
- arg3((void*)pos, 2);
- } while (0);
+ pos -= masked_arg2;
+ arg3((void*)pos, 2);
+ if (1) {}
}
if (!masked_arg2) {}