From 8e01a1b6d812d52553237c7cce5dc3854c9fbac8 Mon Sep 17 00:00:00 2001 From: georgemoralis Date: Sun, 30 Jun 2024 10:12:36 +0300 Subject: [PATCH] libSceJpegEnc,libSceJson2 can be loaded LLE --- src/emulator.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/emulator.cpp b/src/emulator.cpp index 77ba91f0..11b506c5 100644 --- a/src/emulator.cpp +++ b/src/emulator.cpp @@ -140,11 +140,13 @@ void Emulator::Run(const std::filesystem::path& file) { void Emulator::LoadSystemModules(const std::filesystem::path& file) { - constexpr std::array ModulesToLoad{ + constexpr std::array ModulesToLoad{ {{"libSceNgs2.sprx", nullptr}, {"libSceLibcInternal.sprx", &Libraries::LibcInternal::RegisterlibSceLibcInternal}, {"libSceDiscMap.sprx", &Libraries::DiscMap::RegisterlibSceDiscMap}, - {"libSceRtc.sprx", &Libraries::Rtc::RegisterlibSceRtc}}}; + {"libSceRtc.sprx", &Libraries::Rtc::RegisterlibSceRtc}, + {"libSceJpegEnc.sprx", nullptr}, + {"libSceJson2.sprx", nullptr}}}; std::vector found_modules; const auto& sys_module_path = Common::FS::GetUserPath(Common::FS::PathType::SysModuleDir);