diff --git a/src/networking/networking.h b/src/networking/networking.h index 2a7634d66..74c1a2301 100644 --- a/src/networking/networking.h +++ b/src/networking/networking.h @@ -67,7 +67,7 @@ void networking_disconnect(void); /* Start Game */ void spawn_network_players(f32*, f32*, f32); -s32 network_all_players_loaded(void); +void network_all_players_loaded(void); void set_course(const char* data); void networking_start_session(const char* data); diff --git a/src/networking/start_game.c b/src/networking/start_game.c index 4c0f3568b..6fb0321c9 100644 --- a/src/networking/start_game.c +++ b/src/networking/start_game.c @@ -53,7 +53,7 @@ void network_cup_vote(uint32_t course) { void set_course(const char* data) { if (data != NULL) { - //SetCup(data[0]); + // SetCup(data[0]); gCupSelection = data[0]; // gCurrentCourseId = gCupCourseOrder[gCupSelection][COURSE_ONE]; //! @todo SetCourse(); @@ -135,7 +135,7 @@ void networking_start_session(const char* data) { } // Wait for all players to load -s32 network_all_players_loaded() { +void network_all_players_loaded() { if (gNetwork.gameStarted) { return; } 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);