From 5df116b608e2eb0109fd2baba2a31cff2e8124fb Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Mon, 10 Aug 2020 22:44:37 +1000 Subject: [PATCH] libretro: Expose bilinear texture filtering option --- src/duckstation-libretro/libretro_host_interface.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/duckstation-libretro/libretro_host_interface.cpp b/src/duckstation-libretro/libretro_host_interface.cpp index 2218b0a7a..618765f02 100644 --- a/src/duckstation-libretro/libretro_host_interface.cpp +++ b/src/duckstation-libretro/libretro_host_interface.cpp @@ -352,7 +352,7 @@ void LibretroHostInterface::OnSystemDestroyed() m_using_hardware_renderer = false; } -static std::array s_option_definitions = {{ +static std::array s_option_definitions = {{ {"Console.Region", "Console Region", "Determines which region/hardware to emulate. Auto-Detect will use the region of the disc inserted.", @@ -448,6 +448,12 @@ static std::array s_option_definitions = {{ "others will break.", {{"true", "Enabled"}, {"false", "Disabled"}}, "false"}, + {"GPU.TextureFiltering", + "Bilinear Texture Filtering", + "Smooths out the blockyness of magnified textures on 3D object by using bilinear filtering. Will have a " + "greater effect on higher resolution scales. Only applies to the hardware renderers.", + {{"true", "Enabled"}, {"false", "Disabled"}}, + "false"}, {"GPU.WidescreenHack", "Widescreen Hack", "Increases the field of view from 4:3 to 16:9 in 3D games. For 2D games, or games which use pre-rendered "