mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-11-23 01:59:18 +01:00
[Splatoon] Don't stretch HUD for 16:10
This commit is contained in:
parent
880addc986
commit
19179b3032
@ -4,16 +4,17 @@ moduleMatches = 0xF7A78809
|
|||||||
#rodata constants
|
#rodata constants
|
||||||
|
|
||||||
0x1004364C = .float $width/$height
|
0x1004364C = .float $width/$height
|
||||||
0x10124BE0 = .float $width/$height
|
0x10124BE0 = .float (($ultrawideHUD == 0) * ($gameWidth/$gameHeight)) + (($ultrawideHUD == 1) * ($width/$height))
|
||||||
0x10158FE0 = .float $width/$height
|
0x10158FE0 = .float $width/$height
|
||||||
0x10160454 = .float $width/$height
|
0x10160454 = .float $width/$height
|
||||||
|
|
||||||
_aspectAddr = 0x1004364C
|
_aspectAddr = 0x1004364C
|
||||||
|
_hudAspectAddr = 0x10124BE0
|
||||||
|
|
||||||
#patches
|
#patches
|
||||||
|
|
||||||
0x028B1910 = lis r29, _aspectAddr@ha ;hud
|
0x028B1910 = lis r29, _hudAspectAddr@ha ;hud
|
||||||
0x028B1914 = lfs f13, _aspectAddr@l(r29) ;hud
|
0x028B1914 = lfs f13, _hudAspectAddr@l(r29) ;hud
|
||||||
|
|
||||||
0x02014864 = lis r4, _aspectAddr@ha ;master ar
|
0x02014864 = lis r4, _aspectAddr@ha ;master ar
|
||||||
0x0201486C = lfs f9, _aspectAddr@l(r4) ;master ar
|
0x0201486C = lfs f9, _aspectAddr@l(r4) ;master ar
|
||||||
@ -28,16 +29,17 @@ moduleMatches = 0x08ED6677
|
|||||||
|
|
||||||
#rodata constants
|
#rodata constants
|
||||||
0x1003C670 = .float $width/$height
|
0x1003C670 = .float $width/$height
|
||||||
0x101092B0 = .float $width/$height
|
0x101092B0 = .float (($ultrawideHUD == 0) * ($gameWidth/$gameHeight)) + (($ultrawideHUD == 1) * ($width/$height))
|
||||||
0x10144564 = .float $width/$height
|
0x10144564 = .float $width/$height
|
||||||
0x1014A514 = .float $width/$height
|
0x1014A514 = .float $width/$height
|
||||||
|
|
||||||
_aspectAddr = 0x1003C670
|
_aspectAddr = 0x1003C670
|
||||||
|
_hudAspectAddr = 0x101092B0
|
||||||
|
|
||||||
#patches
|
#patches
|
||||||
|
|
||||||
0x027E6400 = lis r29, _aspectAddr@ha ;hud
|
0x027E6400 = lis r29, _hudAspectAddr@ha ;hud
|
||||||
0x027E6404 = lfs f13, _aspectAddr@l(r29) ;hud
|
0x027E6404 = lfs f13, _hudAspectAddr@l(r29) ;hud
|
||||||
|
|
||||||
0x02015690 = lis r4, _aspectAddr@ha ;master AR
|
0x02015690 = lis r4, _aspectAddr@ha ;master AR
|
||||||
0x02015698 = lfs f9, _aspectAddr@l(r4)
|
0x02015698 = lfs f9, _aspectAddr@l(r4)
|
||||||
|
@ -17,6 +17,7 @@ $gamePadHeight = 480
|
|||||||
$shadowQuality = 1
|
$shadowQuality = 1
|
||||||
$anisotropy = 1
|
$anisotropy = 1
|
||||||
$bloom = 1
|
$bloom = 1
|
||||||
|
$ultrawideHUD:int = 1
|
||||||
|
|
||||||
# TV Resolution
|
# TV Resolution
|
||||||
|
|
||||||
@ -108,48 +109,56 @@ name = 1280x800 (16:10)
|
|||||||
category = TV Resolution
|
category = TV Resolution
|
||||||
$width = 1280
|
$width = 1280
|
||||||
$height = 800
|
$height = 800
|
||||||
|
$ultrawideHUD:int = 0
|
||||||
|
|
||||||
[Preset]
|
[Preset]
|
||||||
name = 1440x900 (16:10)
|
name = 1440x900 (16:10)
|
||||||
category = TV Resolution
|
category = TV Resolution
|
||||||
$width = 1440
|
$width = 1440
|
||||||
$height = 900
|
$height = 900
|
||||||
|
$ultrawideHUD:int = 0
|
||||||
|
|
||||||
[Preset]
|
[Preset]
|
||||||
name = 1680x1050 (16:10)
|
name = 1680x1050 (16:10)
|
||||||
category = TV Resolution
|
category = TV Resolution
|
||||||
$width = 1680
|
$width = 1680
|
||||||
$height = 1050
|
$height = 1050
|
||||||
|
$ultrawideHUD:int = 0
|
||||||
|
|
||||||
[Preset]
|
[Preset]
|
||||||
name = 1920x1200 (16:10)
|
name = 1920x1200 (16:10)
|
||||||
category = TV Resolution
|
category = TV Resolution
|
||||||
$width = 1920
|
$width = 1920
|
||||||
$height = 1200
|
$height = 1200
|
||||||
|
$ultrawideHUD:int = 0
|
||||||
|
|
||||||
[Preset]
|
[Preset]
|
||||||
name = 2560x1600 (16:10)
|
name = 2560x1600 (16:10)
|
||||||
category = TV Resolution
|
category = TV Resolution
|
||||||
$width = 2560
|
$width = 2560
|
||||||
$height = 1600
|
$height = 1600
|
||||||
|
$ultrawideHUD:int = 0
|
||||||
|
|
||||||
[Preset]
|
[Preset]
|
||||||
name = 2880x1800 (16:10)
|
name = 2880x1800 (16:10)
|
||||||
category = TV Resolution
|
category = TV Resolution
|
||||||
$width = 2880
|
$width = 2880
|
||||||
$height = 1800
|
$height = 1800
|
||||||
|
$ultrawideHUD:int = 0
|
||||||
|
|
||||||
[Preset]
|
[Preset]
|
||||||
name = 3840x2400 (16:10)
|
name = 3840x2400 (16:10)
|
||||||
category = TV Resolution
|
category = TV Resolution
|
||||||
$width = 3840
|
$width = 3840
|
||||||
$height = 2400
|
$height = 2400
|
||||||
|
$ultrawideHUD:int = 0
|
||||||
|
|
||||||
[Preset]
|
[Preset]
|
||||||
name = 5120x3200 (16:10)
|
name = 5120x3200 (16:10)
|
||||||
category = TV Resolution
|
category = TV Resolution
|
||||||
$width = 5120
|
$width = 5120
|
||||||
$height = 3200
|
$height = 3200
|
||||||
|
$ultrawideHUD:int = 0
|
||||||
|
|
||||||
# Gamepad Resolution
|
# Gamepad Resolution
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user