From 78918e995d7431b33255b3ae88e601d290efa7c2 Mon Sep 17 00:00:00 2001 From: CamilleLaVey Date: Wed, 26 Aug 2026 14:50:42 -0400 Subject: [PATCH] Fix msvc build --- src/video_core/vulkan_common/vulkan_device.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp index 830379164a..a289cc6bfb 100644 --- a/src/video_core/vulkan_common/vulkan_device.cpp +++ b/src/video_core/vulkan_common/vulkan_device.cpp @@ -1575,8 +1575,8 @@ void Device::CollectPhysicalMemoryInfo() { if (committed_backing != 0) { LOG_INFO(Render_Vulkan, "Discounting {} MiB of guest memory committed by the host", committed_backing >> 20); - local_memory -= std::min(local_memory, committed_backing); - device_access_memory -= std::min(device_access_memory, committed_backing); + local_memory -= (std::min)(local_memory, committed_backing); + device_access_memory -= (std::min)(device_access_memory, committed_backing); } if (is_integrated) { const s64 available_memory = static_cast(device_access_memory - device_initial_usage);