Fix wrong path for custom drivers

This commit is contained in:
SSimco
2025-08-30 21:21:23 +03:00
parent 905b11f986
commit ffc6ab784e
@@ -182,7 +182,7 @@ std::string get_custom_driver_lib_name(const fs::path& driver_path)
void* load_custom_driver()
{
std::string driver_path = "test"; //g_config.data().custom_driver_path;
std::string driver_path = GetConfig().custom_driver_path;
if (driver_path.empty())
return nullptr;
std::string driver_name = get_custom_driver_lib_name(driver_path);