mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-12-19 22:42:25 +00:00
Add motion blur toggle.
This commit is contained in:
parent
fabc1ffbc7
commit
d8512fd6b7
3 changed files with 12 additions and 1 deletions
|
|
@ -48,6 +48,7 @@ public:
|
||||||
CONFIG_DEFINE_ENUM("Video", EShadowResolution, ShadowResolution, EShadowResolution::x4096);
|
CONFIG_DEFINE_ENUM("Video", EShadowResolution, ShadowResolution, EShadowResolution::x4096);
|
||||||
CONFIG_DEFINE_ENUM("Video", EGITextureFiltering, GITextureFiltering, EGITextureFiltering::Bicubic);
|
CONFIG_DEFINE_ENUM("Video", EGITextureFiltering, GITextureFiltering, EGITextureFiltering::Bicubic);
|
||||||
CONFIG_DEFINE("Video", bool, AlphaToCoverage, true);
|
CONFIG_DEFINE("Video", bool, AlphaToCoverage, true);
|
||||||
|
CONFIG_DEFINE("Video", bool, MotionBlur, true);
|
||||||
CONFIG_DEFINE("Video", bool, Xbox360ColourCorrection, false);
|
CONFIG_DEFINE("Video", bool, Xbox360ColourCorrection, false);
|
||||||
CONFIG_DEFINE_ENUM("Video", EMovieScaleMode, MovieScaleMode, EMovieScaleMode::Fit);
|
CONFIG_DEFINE_ENUM("Video", EMovieScaleMode, MovieScaleMode, EMovieScaleMode::Fit);
|
||||||
CONFIG_DEFINE_ENUM("Video", EUIScaleMode, UIScaleMode, EUIScaleMode::Centre);
|
CONFIG_DEFINE_ENUM("Video", EUIScaleMode, UIScaleMode, EUIScaleMode::Centre);
|
||||||
|
|
|
||||||
|
|
@ -269,6 +269,11 @@ PPC_FUNC(sub_82547DF0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool MotionBlurMidAsmHook()
|
||||||
|
{
|
||||||
|
return Config::MotionBlur;
|
||||||
|
}
|
||||||
|
|
||||||
#pragma endregion
|
#pragma endregion
|
||||||
|
|
||||||
#pragma region DLC Hooks
|
#pragma region DLC Hooks
|
||||||
|
|
|
||||||
|
|
@ -347,4 +347,9 @@ registers = ["r11"]
|
||||||
[[midasm_hook]]
|
[[midasm_hook]]
|
||||||
name = "WerehogBattleMusicMidAsmHook"
|
name = "WerehogBattleMusicMidAsmHook"
|
||||||
address = 0x82B47728
|
address = 0x82B47728
|
||||||
registers = ["r11"]
|
registers = ["r11"]
|
||||||
|
|
||||||
|
[[midasm_hook]]
|
||||||
|
name = "MotionBlurMidAsmHook"
|
||||||
|
address = 0x82BA99D0
|
||||||
|
jump_address_on_false = 0x82BAA544
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue