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");