summaryrefslogtreecommitdiff
path: root/src/racing
diff options
context:
space:
mode:
authorcoco875 <pereira.jannin@gmail.com>2025-01-05 23:51:19 +0100
committercoco875 <pereira.jannin@gmail.com>2025-01-05 23:51:19 +0100
commit9ad95be03bd08104d2df8d24035bb82f9c9034da (patch)
tree82efa8d9836e111c0b16b4b480e1939f0f088eb7 /src/racing
parent177cefe79f130db3deb535c82f79cfb3e5a3068b (diff)
fix clang error
Diffstat (limited to 'src/racing')
-rw-r--r--src/racing/memory.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/racing/memory.c b/src/racing/memory.c
index ac16e7b51..d54915a3d 100644
--- a/src/racing/memory.c
+++ b/src/racing/memory.c
@@ -505,7 +505,7 @@ u8* dma_textures(const char* texture, size_t arg1, size_t arg2) {
gNextFreeMemoryAddress += arg2;
#else
memcpy(temp_v0, tex, arg2);
- //strcpy(temp_v0, texture);
+ // strcpy(temp_v0, texture);
#endif
return temp_v0;
}
@@ -823,7 +823,7 @@ void unpack_tile_sync(Gfx* gfx, u8* args, s8 opcode) {
}
uintptr_t get_texture(size_t offset) {
- course_texture *textures = CourseManager_GetProps()->textures;
+ course_texture* textures = CourseManager_GetProps()->textures;
size_t totalOffset = 0;
while (textures->addr) {
@@ -1456,7 +1456,7 @@ void decompress_textures(u32* arg0) {
}
void* decompress_segments(u8* start, u8* end) {
- return;
+ return NULL;
UNUSED u32 pad;
u32 sp28;
u32 size = ALIGN16(end - start);