Store: Fix race condition causing crashes if looking at another game before an icon finishes downloading

This commit is contained in:
Henrik Rydgård committed 2023-09-20 21:49:17 +02:00
1 parent 65b995ac6c
commit 2648cd0eee
4 files changed
+13 -7

No files matched your search

+2
View File
@@ -396,6 +396,8 @@ void SasInstance::GetDebugText(char *text, size_t bufsize) {
indicator = " (BAD!)";
}
break;
default:
break;
}
p += snprintf(p, sizeof(voiceBuf) - (p - voiceBuf), " %d: Pitch %04x L/R,FX: %d,%d|%d,%d VAG: %08x:%d:%08x%s Height:%d%%\n", i,
voices[i].pitch, voices[i].volumeLeft, voices[i].volumeRight, voices[i].effectLeft, voices[i].effectRight,