Update emulator.cpp

This commit is contained in:
Stephen Miller 2024-09-26 23:15:42 -05:00
parent 5a4d5b9f31
commit 9650a5e24e

View file

@ -247,8 +247,10 @@ void Emulator::LoadSystemModules(const std::filesystem::path& file) {
found_modules, [&](const auto& path) { return path.filename() == module_name; });
if (it != found_modules.end()) {
LOG_INFO(Loader, "Loading {}", it->string());
linker->LoadModule(*it);
continue;
int result = linker->LoadModule(*it);
if (result == 0) {
continue;
}
}
if (init_func) {
LOG_INFO(Loader, "Can't Load {} switching to HLE", module_name);