| 390 | } |
| 391 | |
| 392 | void ProgressBarUpdate(int slotIndex, int percentage) |
| 393 | { |
| 394 | assert(slotIndex >= 0 && slotIndex < g_ProgressSlotCount); |
| 395 | { |
| 396 | ProgressBarGlobals& slot = g_ProgressSlots[slotIndex]; |
| 397 | std::lock_guard guard(slot.Mutex); |
| 398 | slot.Value = percentage; |
| 399 | } |
| 400 | } |
| 401 | |
| 402 | std::filesystem::path GetLocalPath(std::string subfolder) |
| 403 | { |