From 7b1bad93e5824d2df844215ac8ad471f7ebb08c0 Mon Sep 17 00:00:00 2001 From: Fire Cube Date: Sat, 5 Jul 2025 16:34:45 +0200 Subject: [PATCH] clang --- src/common/config.cpp | 4 +++- src/core/libraries/videoout/video_out.cpp | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/common/config.cpp b/src/common/config.cpp index fea68a70e..de93bd685 100644 --- a/src/common/config.cpp +++ b/src/common/config.cpp @@ -423,6 +423,7 @@ void setCursorState(s16 newCursorState) { void setCursorHideTimeout(int newcursorHideTimeout) { cursorHideTimeout = newcursorHideTimeout; } + void setTrophyNotificationDuration(double newTrophyNotificationDuration) { trophyNotificationDuration = newTrophyNotificationDuration; } @@ -621,7 +622,8 @@ void load(const std::filesystem::path& path) { windowWidth = toml::find_or(gpu, "screenWidth", windowWidth); windowHeight = toml::find_or(gpu, "screenHeight", windowHeight); internalScreenWidth = toml::find_or(gpu, "internalScreenWidth", internalScreenWidth); - internalScreenHeight = toml::find_or(gpu, "internalScreenHeight", internalScreenHeight); + internalScreenHeight = toml::find_or< + int>(gpu, "internalScreenHeight", internalScreenHeight); isNullGpu = toml::find_or(gpu, "nullGpu", false); shouldCopyGPUBuffers = toml::find_or(gpu, "copyGPUBuffers", false); readbacksEnabled = toml::find_or(gpu, "readbacks", false); diff --git a/src/core/libraries/videoout/video_out.cpp b/src/core/libraries/videoout/video_out.cpp index eecd03f2c..0f961923a 100644 --- a/src/core/libraries/videoout/video_out.cpp +++ b/src/core/libraries/videoout/video_out.cpp @@ -445,7 +445,8 @@ s32 PS4_SYSV_ABI sceVideoOutConfigureOutputMode_(s32 handle, u32 reserved, const } void RegisterLib(Core::Loader::SymbolsResolver* sym) { - driver = std::make_unique(Config::getInternalScreenWidth(), Config::getInternalScreenHeight()); + driver = std::make_unique(Config::getInternalScreenWidth(), + Config::getInternalScreenHeight()); LIB_FUNCTION("SbU3dwp80lQ", "libSceVideoOut", 1, "libSceVideoOut", 0, 0, sceVideoOutGetFlipStatus);