logs improvements
This commit is contained in:
@@ -219,7 +219,7 @@ extern "C" __declspec(dllexport) void SetFixEnabled(bool enabled, bool init)
|
||||
}
|
||||
}
|
||||
|
||||
if (g_fix_enabled)
|
||||
if (init && g_fix_enabled)
|
||||
logger->info("-------------- Fixes initialisation -------------");
|
||||
if (CinematicsModeaddress) GetCinematicsMode();
|
||||
if (CamCorderaddress) GetCamcorderState();
|
||||
@@ -324,7 +324,7 @@ static void UltraWideFixEnabled() {
|
||||
if (!CinematicsUltrawideHook) {
|
||||
CinematicsUltrawideHook = safetyhook::create_mid(CinematicsUltrawideaddress + 0x8,
|
||||
[](SafetyHookContext& ctx) {
|
||||
if (g_CamCorderState == 0) // 0 - Camcorder down (if not down ultrawide must not be enabled or it will mess HUD & FOV)
|
||||
if (b_IsCinematicMode && g_CamCorderState == 0) // 0 - Camcorder down (if not down ultrawide must not be enabled or it will mess HUD & FOV)
|
||||
ctx.rax = *(uint32_t*)&aspectRatio;
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user