-
-
Notifications
You must be signed in to change notification settings - Fork 229
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix stretched FMVs for Resident Evil Revelations 2. (#1695)
* Fix stretched FMVs for Resident Evil Revelations 2. Explanation: FMV rendering uses a YUV decoding pixel shader with a crc of 0x9D190FC7 and a generic screenspace vertex shader with a crc of 0x1287841D. We hook D3DDevice9::DrawPrimitive, and if both of these shaders are active, we instead activate our own vertex shader (injected earlier) which resizes the verts according to 16:9 aspect. * refactor and fixes * subtitles fix --------- Co-authored-by: ThirteenAG <[email protected]>
- Loading branch information
1 parent
6e1f39e
commit cf84aa4
Showing
1 changed file
with
113 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters