diff --git a/src/core/devtools/widget/module_list.h b/src/core/devtools/widget/module_list.h index f1ef2f517..084085b7e 100644 --- a/src/core/devtools/widget/module_list.h +++ b/src/core/devtools/widget/module_list.h @@ -58,7 +58,7 @@ public: modules.push_back({name, IsSystemModule(path), true}); } - static void AddModule(std::string& name) { + static void AddModule(std::string name) { name = name + ".prx"; std::scoped_lock lock(modules_mutex);