mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-19 01:44:53 +00:00
Load HLE library if native library can't be loaded (#1899)
This commit is contained in:
parent
cf84c46a49
commit
1c5947d93b
1 changed files with 3 additions and 2 deletions
|
@ -311,8 +311,9 @@ void Emulator::LoadSystemModules(const std::filesystem::path& file, std::string
|
||||||
found_modules, [&](const auto& path) { return path.filename() == module_name; });
|
found_modules, [&](const auto& path) { return path.filename() == module_name; });
|
||||||
if (it != found_modules.end()) {
|
if (it != found_modules.end()) {
|
||||||
LOG_INFO(Loader, "Loading {}", it->string());
|
LOG_INFO(Loader, "Loading {}", it->string());
|
||||||
linker->LoadModule(*it);
|
if (linker->LoadModule(*it) != -1) {
|
||||||
continue;
|
continue;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (init_func) {
|
if (init_func) {
|
||||||
LOG_INFO(Loader, "Can't Load {} switching to HLE", module_name);
|
LOG_INFO(Loader, "Can't Load {} switching to HLE", module_name);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue