fixed ngs2 lle loading and rtc lib

This commit is contained in:
georgemoralis 2024-06-12 23:33:59 +03:00
parent 276456e484
commit 9ccc8786eb
2 changed files with 1 additions and 5 deletions

View file

@ -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);

View file

@ -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());
}