cemu_graphic_packs/Enhancement/HyruleWarriors_DoFBlurRemoval/patches.txt
nosklo 8790dddd83 Hyrule Warriors new enhancement packs (#170)
* New 60FPS patch for HyruleWarriors

Credits go to emoose

* Added text for HyruleWarriors 60FPS patch

Credits go to emoose

* Added patches.txt for 60FPS HyruleWarriors

Credits to emoose

* Added death fix for enemies on HyruleWarriors

For nvidia cards. Credits to emoose.

* [HW] Shader editing for enemy deaths

Credits go to emoose

* [HGW

* [HW] Remove DOF

credits go to emoose

* [HW] Shadow Removal

credits to emoose

* [HW] patches to remove shadows

by emoose

* [HW] Fix large enemies death

Fixes death animation for larger enemies too
by emoose
2018-01-25 13:26:31 -08:00

19 lines
532 B
Plaintext

[HWBlurRemovalv208]
moduleMatches = 0xE159AE91
codeCaveSize = 0x20
# function that nulls out fields meant to be set by ktgl::CCafeGraphicsDevice::GetViewport
_nullViewport = 0x00000000
0x00000000 = li r4, 0
0x00000004 = stw r4, 0x0(r3)
0x00000008 = stw r4, 0x4(r3)
0x0000000C = stw r4, 0x8(r3)
0x00000010 = stw r4, 0xC(r3)
0x00000014 = stw r4, 0x10(r3)
0x00000018 = stw r4, 0x14(r3)
0x0000001C = blr
# patch DoF call to ktgl::CCafeGraphicsDevice::GetViewport to use our nulling out function instead
0x02878FAC = bl _nullViewport