summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSeth Barberee <seth.barberee@gmail.com>2020-11-06 22:34:48 -0600
committerSeth Barberee <seth.barberee@gmail.com>2020-11-06 22:34:48 -0600
commit31d0b3255386da62a95fcf9d89c8b6540a05406d (patch)
tree3020dda84a540e3c53b7101dd34bf1d4db51ca39 /src
parent9df5bb1bcb7d7a2b2c919a18a6a91e4b336e55af (diff)
Should be casting to u16 there..
Thx Kermalis for the spot
Diffstat (limited to 'src')
-rw-r--r--src/code_8098BDC.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/code_8098BDC.c b/src/code_8098BDC.c
index 23aa716..e35500a 100644
--- a/src/code_8098BDC.c
+++ b/src/code_8098BDC.c
@@ -54,7 +54,7 @@ extern u8 sub_8001CC4(u8, u8, u8);
extern void sub_8091980(u32);
extern u8 sub_80023E4(u32);
-extern void sub_80118C4(u32);
+extern void sub_80118C4(u16);
extern void sub_809C730();
void sub_8098BDC(void)
@@ -189,8 +189,7 @@ bool8 sub_8098D80(u32 r0)
sub_809C730();
if(sub_80023E4(0xD) == 0)
{
- // Terrible hack but meh
- sub_80118C4((r0 << 16) >> 16);
+ sub_80118C4(r0);
}
return TRUE;
}
@@ -207,8 +206,7 @@ bool8 sub_8098DCC(u32 r0)
sub_809C730();
if(sub_80023E4(0xD) == 0)
{
- // Terrible hack but meh
- sub_80118C4((r0 << 16) >> 16);
+ sub_80118C4(r0);
}
return TRUE;
}