mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-25 13:35:12 +00:00
Reduce log spam
This commit is contained in:
parent
f2c0993342
commit
87c6ee6e80
2 changed files with 4 additions and 4 deletions
|
@ -18,7 +18,7 @@ static void mod_cache_remove_node(struct ModCacheEntry* node, struct ModCacheEnt
|
||||||
if (node == NULL) { return; }
|
if (node == NULL) { return; }
|
||||||
if (node == sModCacheHead) { sModCacheHead = node->next; }
|
if (node == sModCacheHead) { sModCacheHead = node->next; }
|
||||||
if (parent != NULL) { parent->next = node->next; }
|
if (parent != NULL) { parent->next = node->next; }
|
||||||
LOG_INFO("Removing node: %s", node->path);
|
//LOG_INFO("Removing node: %s", node->path);
|
||||||
if (node->path) {
|
if (node->path) {
|
||||||
free(node->path);
|
free(node->path);
|
||||||
node->path = NULL;
|
node->path = NULL;
|
||||||
|
|
|
@ -63,7 +63,7 @@ void sync_objects_update(void) {
|
||||||
} else {
|
} else {
|
||||||
sForgetList = next;
|
sForgetList = next;
|
||||||
}
|
}
|
||||||
LOG_INFO("Freeing sync object... (%d)", entry->so->id);
|
//LOG_INFO("Freeing sync object... (%d)", entry->so->id);
|
||||||
free(entry->so);
|
free(entry->so);
|
||||||
free(entry);
|
free(entry);
|
||||||
|
|
||||||
|
@ -128,7 +128,7 @@ void sync_object_forget(u32 syncId) {
|
||||||
}
|
}
|
||||||
entry->next = newEntry;
|
entry->next = newEntry;
|
||||||
}
|
}
|
||||||
LOG_INFO("Scheduling sync object to free... (%d)", so->id);
|
//LOG_INFO("Scheduling sync object to free... (%d)", so->id);
|
||||||
}
|
}
|
||||||
|
|
||||||
void sync_object_forget_last_reliable_packet(u32 syncId) {
|
void sync_object_forget_last_reliable_packet(u32 syncId) {
|
||||||
|
@ -412,7 +412,7 @@ bool sync_object_set_id(struct Object* o) {
|
||||||
so = calloc(1, sizeof(struct SyncObject));
|
so = calloc(1, sizeof(struct SyncObject));
|
||||||
so->extendedModelId = 0xFFFF;
|
so->extendedModelId = 0xFFFF;
|
||||||
hmap_put(sSoMap, syncId, so);
|
hmap_put(sSoMap, syncId, so);
|
||||||
LOG_INFO("Allocated sync object @ %u, size %ld", syncId, (long int)hmap_len(sSoMap));
|
//LOG_INFO("Allocated sync object @ %u, size %ld", syncId, (long int)hmap_len(sSoMap));
|
||||||
} else if (so->o != o) {
|
} else if (so->o != o) {
|
||||||
LOG_INFO("Already exists...");
|
LOG_INFO("Already exists...");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue