From cb7d58fff2a37e8fae044500dbca56815c05aaf2 Mon Sep 17 00:00:00 2001 From: Arceveti <73617174+Arceveti@users.noreply.github.com> Date: Fri, 24 Sep 2021 16:37:47 -0700 Subject: [PATCH] Fix puppyprint build warnings --- src/game/puppyprint.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/game/puppyprint.c b/src/game/puppyprint.c index 53688027..cb4752f3 100644 --- a/src/game/puppyprint.c +++ b/src/game/puppyprint.c @@ -109,11 +109,11 @@ extern u8 _goddardSegmentEnd[]; //Here is stored the rom addresses of the global code segments. If you get rid of any, it's best to just write them as NULL. s32 ramP[5][2] = { - {&_buffersSegmentBssStart, &_buffersSegmentBssEnd}, - {&_mainSegmentStart, &_mainSegmentEnd}, - {&_engineSegmentStart, &_engineSegmentEnd}, - {&_framebuffersSegmentBssStart, &_framebuffersSegmentBssEnd}, - {&_goddardSegmentStart, &_goddardSegmentEnd}, + {(u32)&_buffersSegmentBssStart, (u32)&_buffersSegmentBssEnd}, + {(u32)&_mainSegmentStart, (u32)&_mainSegmentEnd}, + {(u32)&_engineSegmentStart, (u32)&_engineSegmentEnd}, + {(u32)&_framebuffersSegmentBssStart, (u32)&_framebuffersSegmentBssEnd}, + {(u32)&_goddardSegmentStart, (u32)&_goddardSegmentEnd}, }; void puppyprint_calculate_ram_usage(void) @@ -984,7 +984,7 @@ void print_small_text(s32 x, s32 y, const char *str, s32 align, s32 amount) gSPDisplayList(gDisplayListHead++, dl_rgba16_text_end); } -void render_multi_image(Texture *image, s32 x, s32 y, s32 width, s32 height, s32 scaleX, s32 scaleY, s32 mode) +void render_multi_image(Texture *image, s32 x, s32 y, s32 width, s32 height, UNUSED s32 scaleX, UNUSED s32 scaleY, s32 mode) { s32 posW, posH, imW, imH, peakH, maskW, maskH, cycles, num, i, modeSC, mOne; i = 0;