[PR #2849] [MERGED] VideoOut event cleanup #3026

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/2849
Author: @StevenMiller123
Created: 4/27/2025
Status: Merged
Merged: 4/27/2025
Merged by: @georgemoralis

Base: mainHead: videoout-event-cleanup


📝 Commits (9)

📊 Changes

4 files changed (+34 additions, -16 deletions)

View changed files

📝 src/core/libraries/kernel/equeue.h (+22 -11)
📝 src/core/libraries/videoout/video_out.cpp (+3 -2)
📝 src/core/libraries/videoout/video_out.h (+8 -2)
📝 src/main.cpp (+1 -1)

📄 Description

Cleans up the code for triggering VideoOut events, based on fpPS4's current code.
Also adds a VideoOutEventData struct to libSceVideoOut, to make our sceVideoOutGetEventCount implementation look cleaner.

Also includes a fix for a very minor annoyance that got hidden in a now-deleted PR.

This PR doesn't appear to regress any games dependent on this behavior in my testing.


🔄 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/2849 **Author:** [@StevenMiller123](https://github.com/StevenMiller123) **Created:** 4/27/2025 **Status:** ✅ Merged **Merged:** 4/27/2025 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `videoout-event-cleanup` --- ### 📝 Commits (9) - [`f2cebf7`](https://github.com/shadps4-emu/shadPS4/commit/f2cebf7284eba45ebb59c96de97537d211b596aa) Readable VideoOutEvent data packing - [`737db6f`](https://github.com/shadps4-emu/shadPS4/commit/737db6fb625676b28305ae02414e577c80a15578) Apply DceData struct to sceVideoOutGetEventCount - [`0952da0`](https://github.com/shadps4-emu/shadPS4/commit/0952da0af92724b66de983ce5975a88dc39d2abc) Update equeue.h - [`ad5910f`](https://github.com/shadps4-emu/shadPS4/commit/ad5910f8b8997a1f78d8d5420cb580a856727ab8) Update main.cpp - [`812f88b`](https://github.com/shadps4-emu/shadPS4/commit/812f88bebbc3d928f946a7b6c01e8458a38b38e2) Update equeue.h - [`df85a86`](https://github.com/shadps4-emu/shadPS4/commit/df85a86c5d2fd20b8e61c0caec89673591e65a59) Proper struct names - [`746c126`](https://github.com/shadps4-emu/shadPS4/commit/746c126bf5159043ad86ba0a3bcfd34c15fb3d9c) Fix hint mask - [`69ffa4a`](https://github.com/shadps4-emu/shadPS4/commit/69ffa4a263ad42e8349b49a19d259be75e530f4b) Clang - [`9fa9089`](https://github.com/shadps4-emu/shadPS4/commit/9fa9089708f311a8ee6a70384a0538629bda0266) Fix header discrepancy ### 📊 Changes **4 files changed** (+34 additions, -16 deletions) <details> <summary>View changed files</summary> 📝 `src/core/libraries/kernel/equeue.h` (+22 -11) 📝 `src/core/libraries/videoout/video_out.cpp` (+3 -2) 📝 `src/core/libraries/videoout/video_out.h` (+8 -2) 📝 `src/main.cpp` (+1 -1) </details> ### 📄 Description Cleans up the code for triggering VideoOut events, based on fpPS4's current code. Also adds a VideoOutEventData struct to libSceVideoOut, to make our sceVideoOutGetEventCount implementation look cleaner. Also includes a fix for a very minor annoyance that got hidden in a now-deleted PR. This PR doesn't appear to regress any games dependent on this behavior in my testing. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:02:10 +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#3026
No description provided.