[PR #3330] [MERGED] Make libSceRtc fully HLE #3394

Closed
opened 2026-02-27 22:03:32 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/3330
Author: @kalaposfos13
Created: 7/26/2025
Status: Merged
Merged: 8/6/2025
Merged by: @georgemoralis

Base: mainHead: hle-rtc


📝 Commits (5)

  • ebfa2df Add stubbed libkernel time functions
  • 211ab81 Implement remaining stubbed Rtc functions
  • 247a4e0 Move Rtc from the optionally HLE loading part to the always loaded part
  • 0ca58c7 Remove Rtc from the README list of LLE modules
  • b858d79 Mfw last second hotfix I noticed while double checking that everything's good before opening the PR

📊 Changes

7 files changed (+97 additions, -16 deletions)

View changed files

📝 README.md (+1 -1)
📝 src/core/libraries/kernel/time.cpp (+21 -0)
📝 src/core/libraries/kernel/time.h (+3 -0)
📝 src/core/libraries/libs.cpp (+1 -0)
📝 src/core/libraries/rtc/rtc.cpp (+65 -12)
📝 src/core/libraries/rtc/rtc.h (+6 -2)
📝 src/emulator.cpp (+0 -1)

📄 Description

Unless I'm missing something, this library had an almost fully complete HLE reimplementation already, so I'm not sure why this is still in the list of LLE loadable libraries. I implemented the rest of the stubbed functions (well moved the stubbed parts to the kernel technically) as well, and removed it from the list of LLE loadable libraries. If there is a preexisting reason as to why it wasn't HLE'd before, please do let me know.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/shadps4-emu/shadPS4/pull/3330 **Author:** [@kalaposfos13](https://github.com/kalaposfos13) **Created:** 7/26/2025 **Status:** ✅ Merged **Merged:** 8/6/2025 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `hle-rtc` --- ### 📝 Commits (5) - [`ebfa2df`](https://github.com/shadps4-emu/shadPS4/commit/ebfa2df040b10ab91cf4121f7a0e6c993c45ebf3) Add stubbed libkernel time functions - [`211ab81`](https://github.com/shadps4-emu/shadPS4/commit/211ab816d62011ca1ab07d6737f17b4d944d10f1) Implement remaining stubbed Rtc functions - [`247a4e0`](https://github.com/shadps4-emu/shadPS4/commit/247a4e0ef9fc331e431553b85ee7bbe211731913) Move Rtc from the optionally HLE loading part to the always loaded part - [`0ca58c7`](https://github.com/shadps4-emu/shadPS4/commit/0ca58c7f6bd712ca707db4339ec6ec3961d5f691) Remove Rtc from the README list of LLE modules - [`b858d79`](https://github.com/shadps4-emu/shadPS4/commit/b858d7979c07a82117b3182df0435fa684fbd3d8) Mfw last second hotfix I noticed while double checking that everything's good before opening the PR ### 📊 Changes **7 files changed** (+97 additions, -16 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -1) 📝 `src/core/libraries/kernel/time.cpp` (+21 -0) 📝 `src/core/libraries/kernel/time.h` (+3 -0) 📝 `src/core/libraries/libs.cpp` (+1 -0) 📝 `src/core/libraries/rtc/rtc.cpp` (+65 -12) 📝 `src/core/libraries/rtc/rtc.h` (+6 -2) 📝 `src/emulator.cpp` (+0 -1) </details> ### 📄 Description Unless I'm missing something, this library had an almost fully complete HLE reimplementation already, so I'm not sure why this is still in the list of LLE loadable libraries. I implemented the rest of the stubbed functions (well moved the stubbed parts to the kernel technically) as well, and removed it from the list of LLE loadable libraries. If there is a preexisting reason as to why it wasn't HLE'd before, please do let me know. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:03:32 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#3394
No description provided.