From fdbc2883ef3984f9f766aaca0dbae0cf3844e8d2 Mon Sep 17 00:00:00 2001 From: Martino Fontana Date: Mon, 9 Feb 2026 19:08:53 +0100 Subject: VideoCommon: Invert interaction between Arbitrary Mipmap Detection and GPU Texture Decoding (the former disables the latter) Split from #14293. It makes sense for a setting that changes visual output to have priority over a setting that barely makes any difference. --- Source/Core/Common/Config/Config.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Source/Core/Common') diff --git a/Source/Core/Common/Config/Config.h b/Source/Core/Common/Config/Config.h index d8a2a9a691..1a32203ea5 100644 --- a/Source/Core/Common/Config/Config.h +++ b/Source/Core/Common/Config/Config.h @@ -61,6 +61,14 @@ T Get(LayerType layer, const Info& info) return GetLayer(layer)->Get(info); } +template +T Get(const Layer* game_layer, const Info& setting) +{ + if (game_layer != nullptr) + return game_layer->Get(setting); + return Get(setting); +} + template T Get(const Info& info) { -- cgit v1.2.3