mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-02 22:28:45 +00:00
Update emulator.cpp
This commit is contained in:
parent
5a4d5b9f31
commit
9650a5e24e
1 changed files with 4 additions and 2 deletions
|
@ -247,8 +247,10 @@ void Emulator::LoadSystemModules(const std::filesystem::path& file) {
|
||||||
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);
|
int result = linker->LoadModule(*it);
|
||||||
continue;
|
if (result == 0) {
|
||||||
|
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