From c2f9ae2e16dada7f086c3bea6398b4727c11fb30 Mon Sep 17 00:00:00 2001 From: Nemoumbra Date: Sun, 6 Aug 2023 15:06:54 +0300 Subject: [PATCH] Buildfix for VS2017 --- Core/MIPS/IR/IRAnalysis.cpp | 4 ++++ UI/DebugOverlay.cpp | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/Core/MIPS/IR/IRAnalysis.cpp b/Core/MIPS/IR/IRAnalysis.cpp index 0a8b861b89..26595c11b4 100644 --- a/Core/MIPS/IR/IRAnalysis.cpp +++ b/Core/MIPS/IR/IRAnalysis.cpp @@ -17,6 +17,10 @@ #include "Core/MIPS/IR/IRAnalysis.h" +// For std::min +#include + + static bool IRReadsFrom(const IRInst &inst, int reg, char type, bool directly = false) { const IRMeta *m = GetIRMeta(inst.op); diff --git a/UI/DebugOverlay.cpp b/UI/DebugOverlay.cpp index 3e78f2dbad..1dc2d1a089 100644 --- a/UI/DebugOverlay.cpp +++ b/UI/DebugOverlay.cpp @@ -10,6 +10,10 @@ // TODO: This should be moved here or to Common, doesn't belong in /GPU #include "GPU/Vulkan/DebugVisVulkan.h" +// For std::max +#include + + static void DrawDebugStats(UIContext *ctx, const Bounds &bounds) { FontID ubuntu24("UBUNTU24");