mirror of
https://github.com/SAT-R/sa2.git
synced 2026-10-28 09:43:38 +00:00
Fix more compiler errors
This commit is contained in:
1 parent
3ca503102f
commit
199fa62f24
5 files changed
+8
-10
No files matched your search
@@ -87,15 +87,14 @@ struct Strc_3006250 {
|
||||
u8 unk4[0x20];
|
||||
}; /* 0x24 */
|
||||
|
||||
// TODO: Is this the correct module?
|
||||
void sub_8052C84(u8 *param0, Strc_8052C84 *param1);
|
||||
|
||||
void sub_80535C8(struct Strc0 *inTask, u8 param1);
|
||||
|
||||
void sub_80535FC(void);
|
||||
IwramData UiGfxStackInit(void);
|
||||
GraphicsData *UiGfxStackPop(void);
|
||||
void sub_80528AC(Strc_80528AC *strc);
|
||||
// TODO: Is this the correct module?
|
||||
void sub_8052C84(const char *param0, Strc_8052C84 *param1);
|
||||
void sub_8052F78(const char *param0, struct GameOverB *strc);
|
||||
void sub_80530CC(const char *param0, struct GameOverB *param1);
|
||||
void sub_8055C50(Strc_8055C50 *param0);
|
||||
|
||||
@@ -46,7 +46,6 @@ void TaskDestructor_GameOverScreen(struct Task *t);
|
||||
void TaskDestructor_8056F30(struct Task *t);
|
||||
|
||||
// NOTE: param0[param1->byteCount (offset: 0xE)]
|
||||
extern void sub_8052C84(u8 *param0, Strc_8052C84 *param1);
|
||||
extern const u16 gUnknown_086883E4[10];
|
||||
extern const u8 gUnknown_086883F8[];
|
||||
|
||||
|
||||
@@ -529,9 +529,9 @@ void Task_805C740(void)
|
||||
#else
|
||||
// TODO: Inline the mem calls!
|
||||
// const u8 arrA[16] = { /* data here */ };
|
||||
u8 arrA[] = { 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x20, 0x21, 0x22, 0x23,
|
||||
0x24, 0x25, 0x26, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0 };
|
||||
u8 arrB[5] = { 0 };
|
||||
const char arrA[] = { 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x20, 0x21, 0x22, 0x23,
|
||||
0x24, 0x25, 0x26, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0 };
|
||||
const char arrA[5] = { 0 };
|
||||
#endif
|
||||
|
||||
sub = TASK_DATA(gCurTask);
|
||||
|
||||
@@ -1907,7 +1907,7 @@ END_NONMATCH
|
||||
// (73.95%) https://decomp.me/scratch/2UCbe
|
||||
NONMATCH("asm/non_matching/game/special_stage/sub_802BE0C.inc", void sub_802BE0C(Sprite *s, SpriteTransform *tf))
|
||||
{
|
||||
s16 sp00[8];
|
||||
u16 sp00[8];
|
||||
const SpriteOffset *dims;
|
||||
s8 temp_r7;
|
||||
u32 temp_r1;
|
||||
|
||||
@@ -143,7 +143,7 @@ END_NONMATCH
|
||||
NONMATCH("asm/non_matching/game/gTask_3006240__unused_8052B84.inc", void unused_8052B84(s32 param0, u16 param1, u16 param2, u8 param3)) { }
|
||||
END_NONMATCH
|
||||
|
||||
void sub_8052C84(u8 *param0, Strc_8052C84 *param1)
|
||||
void sub_8052C84(const char *param0, Strc_8052C84 *param1)
|
||||
{
|
||||
Strc0 *strc0;
|
||||
u32 u8;
|
||||
@@ -286,7 +286,7 @@ void sub_8052E40(u8 *param0, Strc_8052C84 *param1)
|
||||
NONMATCH("asm/non_matching/game/gTask_3006240__sub_8052EF0.inc", void sub_8052EF0(s32 param0, Strc_8052C84 *param1))
|
||||
{
|
||||
s32 byteCount = 0;
|
||||
u8 sp00[10];
|
||||
char sp00[10];
|
||||
s32 i;
|
||||
|
||||
param1->byteCount = byteCount;
|
||||
|
||||
Reference in new issue
Block a user