[NG3] Video and Scaling fix

Re-add old fix.
This commit is contained in:
getdls 2018-11-03 02:15:30 +01:00
parent b45d012d83
commit 9d08710c29
3 changed files with 5 additions and 4 deletions

View File

@ -5,7 +5,7 @@
// shader 7a641a67c4009f7f //Blur
const float resXScale = ($width/$gameWidth);
const float resYScale = ($width/$gameWidth);
const float resYScale = ($height/$gameHeight);
uniform ivec4 uf_remappedVS[8];
uniform vec2 uf_windowSpaceToClipSpaceTransform;

View File

@ -5,7 +5,7 @@
// shader fd6c2e800481a180 //Cinematic bloom
const float resXScale = ($width/$gameWidth);
const float resYScale = ($width/$gameWidth);
const float resYScale = ($height/$gameHeight);
uniform ivec4 uf_remappedVS[8];

View File

@ -2,7 +2,7 @@
titleIds = 0005000010110900,0005000010110A00,0005000010110B00
name = Resolution
path = "Ninja Gaiden 3: Razors Edge/Graphics/Resolution"
description = Changes the resolution of the game. Known issues: Videos are broken, game is unstable, button inputs missing (prob incorrect scaling)
description = Changes the resolution of the game.
version = 3
[Preset]
@ -157,13 +157,14 @@ overwriteHeight = ($height/$gameHeight) * 480
width = 640
height = 368
#formats = 0x007,0x01a
tileModesExcluded = 0x001 # intro fix
overwriteWidth = ($width/$gameWidth) * 640
overwriteHeight = ($height/$gameHeight) * 368
[TextureRedefine]
width = 640
height = 360
#tileModesExcluded = 0x001 # intro fix
tileModesExcluded = 0x001 # intro fix
#formats = 0x007,0x01a
overwriteWidth = ($width/$gameWidth) * 640
overwriteHeight = ($height/$gameHeight) * 360