[PR #2610] [CLOSED] Fixing some issues introduced by the Fix time pr #2582 #2858

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/2610
Author: @diegolix29
Created: 3/6/2025
Status: Closed

Base: mainHead: GetTime-Fixes


📝 Commits (3)

  • a7c1b89 Fixing some issues introduced by the Fix time - sceKernelClockGettime… #2766
  • 9ba492a wraping timespec into else so clockgettime only gets call on monotonic clock calls.
  • 2375bc5 clang format

📊 Changes

1 file changed (+19 additions, -11 deletions)

View changed files

📝 src/core/libraries/kernel/time.cpp (+19 -11)

📄 Description

If a sound effect rely on a monotonic clock but unexpectedly get clock realtime they may play incorrectly

Fixes https://github.com/shadps4-emu/shadPS4/issues/2609


🔄 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/2610 **Author:** [@diegolix29](https://github.com/diegolix29) **Created:** 3/6/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `GetTime-Fixes` --- ### 📝 Commits (3) - [`a7c1b89`](https://github.com/shadps4-emu/shadPS4/commit/a7c1b897e198750612dd22437e0d93a9d842b5e5) Fixing some issues introduced by the Fix time - sceKernelClockGettime… #2766 - [`9ba492a`](https://github.com/shadps4-emu/shadPS4/commit/9ba492a778b384437c19257b9d87bbbd9dd1a585) wraping timespec into else so clockgettime only gets call on monotonic clock calls. - [`2375bc5`](https://github.com/shadps4-emu/shadPS4/commit/2375bc52d789b9e56af81dbd518fc92329b80c6e) clang format ### 📊 Changes **1 file changed** (+19 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `src/core/libraries/kernel/time.cpp` (+19 -11) </details> ### 📄 Description If a sound effect rely on a monotonic clock but unexpectedly get clock realtime they may play incorrectly Fixes https://github.com/shadps4-emu/shadPS4/issues/2609 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:01:31 +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#2858
No description provided.