From 9ccc8786eb2a61110f68727ee8b79b3ef265d01a Mon Sep 17 00:00:00 2001 From: georgemoralis Date: Wed, 12 Jun 2024 23:33:59 +0300 Subject: [PATCH] fixed ngs2 lle loading and rtc lib --- src/core/libraries/rtc/rtc.cpp | 1 - src/emulator.cpp | 5 +---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/core/libraries/rtc/rtc.cpp b/src/core/libraries/rtc/rtc.cpp index e330e0df2..82e6db67e 100644 --- a/src/core/libraries/rtc/rtc.cpp +++ b/src/core/libraries/rtc/rtc.cpp @@ -248,7 +248,6 @@ int PS4_SYSV_ABI sceRtcTickAddYears() { } void RegisterlibSceRtc(Core::Loader::SymbolsResolver* sym) { - return; LIB_FUNCTION("lPEBYdVX0XQ", "libSceRtc", 1, "libSceRtc", 1, 1, sceRtcCheckValid); LIB_FUNCTION("fNaZ4DbzHAE", "libSceRtc", 1, "libSceRtc", 1, 1, sceRtcCompareTick); LIB_FUNCTION("8Yr143yEnRo", "libSceRtc", 1, "libSceRtc", 1, 1, sceRtcConvertLocalTimeToUtc); diff --git a/src/emulator.cpp b/src/emulator.cpp index 62f6270de..5c0200893 100644 --- a/src/emulator.cpp +++ b/src/emulator.cpp @@ -137,10 +137,7 @@ void Emulator::LoadSystemModules(const std::filesystem::path& file) { return; const auto& sys_module_path = Common::FS::GetUserPath(Common::FS::PathType::SysModuleDir); for (const auto& entry : std::filesystem::directory_iterator(sys_module_path)) { - if (/*entry.path().filename() == "libSceNgs2.sprx" || entry.path().filename() == - "libSceRtc.sprx" || entry.path().filename() == "libSceDiscMap.sprx" || - entry.path().filename() == "libSceLibcInternal.sprx"*/ - false) { + if (entry.path().filename() == "libSceNgs2.sprx") { LOG_INFO(Loader, "Loading {}", entry.path().string().c_str()); linker->LoadModule(entry.path()); }