mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 07:46:01 +03:00
[PR #3087] [MERGED] libSceVideodec2: Additional fixups #3212
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#3212
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/shadps4-emu/shadPS4/pull/3087
Author: @StevenMiller123
Created: 6/11/2025
Status: ✅ Merged
Merged: 6/11/2025
Merged by: @georgemoralis
Base:
main← Head:diva-x-fix📝 Commits (1)
92ca25fStruct update fixes📊 Changes
1 file changed (+20 additions, -6 deletions)
View changed files
📝
src/core/libraries/videodec/videodec2_impl.cpp(+20 -6)📄 Description
After updating the structs, a few issues with our current implementation became apparent.
thisSizefield could change game behavior, since there's no longer one "expected" struct size.frameFormatandframePitchInBytesunconditionally is dangerous, since those can be outside the bounds of the struct the game passes in.This fixes these issues based on my own decompilation of libSceVideodec2, and fixes a recent regression noticed in Hatsune Miku: Project DIVA X (CUSA04518).
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.