diff --git a/src/core/cheats.cpp b/src/core/cheats.cpp index 9a1bf28f8..0f948f5cc 100644 --- a/src/core/cheats.cpp +++ b/src/core/cheats.cpp @@ -228,6 +228,7 @@ const char* PATCHES_CONFIG_SECTION = "Patches"; const char* CHEATS_CONFIG_SECTION = "Cheats"; const char* PATCH_ENABLE_CONFIG_KEY = "Enable"; +static std::mutex s_zip_mutex; static CheatArchive s_patches_zip; static CheatArchive s_cheats_zip; static CheatCodeList s_patch_codes; @@ -365,6 +366,7 @@ void Cheats::EnumerateChtFiles(const std::string_view serial, std::optional