Skip to content

Refactor memory size handling to better handle vdec titles#4373

Merged
StevenMiller123 merged 3 commits into
shadps4-emu:mainfrom
Hog185:ihatevulkan
May 8, 2026
Merged

Refactor memory size handling to better handle vdec titles#4373
StevenMiller123 merged 3 commits into
shadps4-emu:mainfrom
Hog185:ihatevulkan

Conversation

@Hog185

@Hog185 Hog185 commented May 7, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Hog185 added 2 commits May 7, 2026 20:10
Updated memory size handling in video decoder functions.
Updated frame size computation to use worst-case dimensions and adjusted alignment values.
@StevenMiller123

StevenMiller123 commented May 7, 2026

Copy link
Copy Markdown
Collaborator

No regressions in my tests, fixes The Last of Us™ Remastered crashing on cutscenes.
image
image
shad_log.txt

@gandalfthewhite19890404

Copy link
Copy Markdown
image now we can see FMVs without hacked build

Comment thread src/core/libraries/videodec/videodec.cpp Outdated

@StevenMiller123 StevenMiller123 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pretty sure this isn't fully accurate, but it's significantly better than what we had before.

@StevenMiller123 StevenMiller123 merged commit 7132795 into shadps4-emu:main May 8, 2026
@Hog185 Hog185 deleted the ihatevulkan branch May 9, 2026 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants