mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-12 12:45:56 +00:00
Neither sceVideodec2Decode or sceVideodec2Flush should be modifying the output's `thisSize`, doing so breaks older games now that we have the updated structs. We should also only set frameFormat and framePitchInBytes if the game inputted the newer struct, since otherwise we're modifying memory the game never gave us. These changes might fix the regression in Hatsune Miku Project Diva X, though it's hard to tell due to some weird caching issue with Windows, and the ancient regression this game had on Linux. |
||
---|---|---|
.. | ||
videodec.cpp | ||
videodec.h | ||
videodec2.cpp | ||
videodec2.h | ||
videodec2_avc.h | ||
videodec2_impl.cpp | ||
videodec2_impl.h | ||
videodec_error.h | ||
videodec_impl.cpp | ||
videodec_impl.h |