Fix warnings for func_800A26C8

This commit is contained in:
Ryan Myers
2021-10-26 07:38:30 -04:00
parent 95ad10a2b3
commit 967b2a0a32
2 changed files with 5 additions and 8 deletions
+2 -2
View File
@@ -356,7 +356,7 @@ void func_800A263C(s32 arg0, unk800A0DC0 *arg1, s32 arg2) {
void func_800A26C8(Object *obj, s32 arg1) {
Object_64 *obj64;
unk800A26C8 *temp_a3;
unk80126CDC *temp_a3;
if (get_viewport_count() == 0) {
obj64 = obj->unk64;
@@ -364,7 +364,7 @@ void func_800A26C8(Object *obj, s32 arg1) {
func_800A718C(obj64);
func_800A3884(obj, arg1);
if (is_in_two_player_adventure()) {
temp_a3 = D_80126CDC + 1;
temp_a3 = &D_80126CDC[1];
temp_a3->unk6 = (get_settings()->racers[1].character + 0x38);
func_800AA600(&D_80126CFC, &D_80126D00, &D_80126D04, temp_a3);
}
+3 -6
View File
@@ -5,7 +5,9 @@
#include "structs.h"
typedef struct {
u8 unk0[0x4C4];
u8 unk0[0x6];
s16 unk6;
u8 unk8[0x4BC];
u16 unk4C4;
u8 unk4C6[0x1B4];
s8 unk67A;
@@ -51,11 +53,6 @@ typedef struct {
unk800A0DC0_2 *unk64;
} unk800A0DC0;
typedef struct {
u8 pad[0x5];
s16 unk6;
} unk800A26C8;
u8 func_800A0190(void);
void func_800A0B74(void);
void func_800A0DC0(s32 arg0, unk800A0DC0 *arg1, s32 arg2);