mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-26 20:15:03 +00:00
fixed ngs2 lle loading and rtc lib
This commit is contained in:
parent
276456e484
commit
9ccc8786eb
@ -248,7 +248,6 @@ int PS4_SYSV_ABI sceRtcTickAddYears() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void RegisterlibSceRtc(Core::Loader::SymbolsResolver* sym) {
|
void RegisterlibSceRtc(Core::Loader::SymbolsResolver* sym) {
|
||||||
return;
|
|
||||||
LIB_FUNCTION("lPEBYdVX0XQ", "libSceRtc", 1, "libSceRtc", 1, 1, sceRtcCheckValid);
|
LIB_FUNCTION("lPEBYdVX0XQ", "libSceRtc", 1, "libSceRtc", 1, 1, sceRtcCheckValid);
|
||||||
LIB_FUNCTION("fNaZ4DbzHAE", "libSceRtc", 1, "libSceRtc", 1, 1, sceRtcCompareTick);
|
LIB_FUNCTION("fNaZ4DbzHAE", "libSceRtc", 1, "libSceRtc", 1, 1, sceRtcCompareTick);
|
||||||
LIB_FUNCTION("8Yr143yEnRo", "libSceRtc", 1, "libSceRtc", 1, 1, sceRtcConvertLocalTimeToUtc);
|
LIB_FUNCTION("8Yr143yEnRo", "libSceRtc", 1, "libSceRtc", 1, 1, sceRtcConvertLocalTimeToUtc);
|
||||||
|
@ -137,10 +137,7 @@ void Emulator::LoadSystemModules(const std::filesystem::path& file) {
|
|||||||
return;
|
return;
|
||||||
const auto& sys_module_path = Common::FS::GetUserPath(Common::FS::PathType::SysModuleDir);
|
const auto& sys_module_path = Common::FS::GetUserPath(Common::FS::PathType::SysModuleDir);
|
||||||
for (const auto& entry : std::filesystem::directory_iterator(sys_module_path)) {
|
for (const auto& entry : std::filesystem::directory_iterator(sys_module_path)) {
|
||||||
if (/*entry.path().filename() == "libSceNgs2.sprx" || entry.path().filename() ==
|
if (entry.path().filename() == "libSceNgs2.sprx") {
|
||||||
"libSceRtc.sprx" || entry.path().filename() == "libSceDiscMap.sprx" ||
|
|
||||||
entry.path().filename() == "libSceLibcInternal.sprx"*/
|
|
||||||
false) {
|
|
||||||
LOG_INFO(Loader, "Loading {}", entry.path().string().c_str());
|
LOG_INFO(Loader, "Loading {}", entry.path().string().c_str());
|
||||||
linker->LoadModule(entry.path());
|
linker->LoadModule(entry.path());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user