mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-01-06 19:50:33 -06:00
Add motion blur toggle.
This commit is contained in:
@@ -48,6 +48,7 @@ public:
|
||||
CONFIG_DEFINE_ENUM("Video", EShadowResolution, ShadowResolution, EShadowResolution::x4096);
|
||||
CONFIG_DEFINE_ENUM("Video", EGITextureFiltering, GITextureFiltering, EGITextureFiltering::Bicubic);
|
||||
CONFIG_DEFINE("Video", bool, AlphaToCoverage, true);
|
||||
CONFIG_DEFINE("Video", bool, MotionBlur, true);
|
||||
CONFIG_DEFINE("Video", bool, Xbox360ColourCorrection, false);
|
||||
CONFIG_DEFINE_ENUM("Video", EMovieScaleMode, MovieScaleMode, EMovieScaleMode::Fit);
|
||||
CONFIG_DEFINE_ENUM("Video", EUIScaleMode, UIScaleMode, EUIScaleMode::Centre);
|
||||
|
||||
@@ -269,6 +269,11 @@ PPC_FUNC(sub_82547DF0)
|
||||
}
|
||||
}
|
||||
|
||||
bool MotionBlurMidAsmHook()
|
||||
{
|
||||
return Config::MotionBlur;
|
||||
}
|
||||
|
||||
#pragma endregion
|
||||
|
||||
#pragma region DLC Hooks
|
||||
|
||||
@@ -347,4 +347,9 @@ registers = ["r11"]
|
||||
[[midasm_hook]]
|
||||
name = "WerehogBattleMusicMidAsmHook"
|
||||
address = 0x82B47728
|
||||
registers = ["r11"]
|
||||
registers = ["r11"]
|
||||
|
||||
[[midasm_hook]]
|
||||
name = "MotionBlurMidAsmHook"
|
||||
address = 0x82BA99D0
|
||||
jump_address_on_false = 0x82BAA544
|
||||
|
||||
Reference in New Issue
Block a user