mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-04-20 19:44:46 +00:00
fixed ngs2 lle loading and rtc lib
This commit is contained in:
parent
276456e484
commit
9ccc8786eb
2 changed files with 1 additions and 5 deletions
|
@ -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);
|
||||
|
|
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue