mirror of
https://github.com/HarbourMasters/SpaghettiKart
synced 2026-07-07 06:05:31 -04:00
fix clang error
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
+3
-3
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user