mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-11-16 19:13:49 +01:00
System: only init fxo objects if a game is started
The progress_dialog and patch system aren't needed unless a game is started. Before, they were both initialized everytime we added a single game to the game list or even when simply started RPCS3. This both means that a thread was needlessly idling all the time and even worse: The patch.yml was read countless times when we didn't need it.
This commit is contained in:
1 parent
c37c6fb6de
commit
129ade2f73
2 files changed
+15
-15
No files matched your search
@@ -64,12 +64,6 @@ void fmt_class_string<patch_type>::format(std::string& out, u64 arg)
|
||||
|
||||
patch_engine::patch_engine()
|
||||
{
|
||||
const std::string patches_path = get_patches_path();
|
||||
|
||||
if (!fs::create_path(patches_path))
|
||||
{
|
||||
patch_log.fatal("Failed to create path: %s (%s)", patches_path, fs::g_tls_error);
|
||||
}
|
||||
}
|
||||
|
||||
std::string patch_engine::get_patch_config_path()
|
||||
|
||||
Reference in new issue
Block a user