libretro / dolphin

Dolphin is a GameCube / Wii emulator, allowing you to play games for these two platforms on PC with improvements.
https://dolphin-emu.org/
GNU General Public License v2.0
86 stars 68 forks source link

"Max Anisotropy" core option fix #225

Closed bslenul closed 3 years ago

bslenul commented 3 years ago

Currently the "Max Anisotropy" core option goes from "0" to "16" and write these values in retroarch/saves/User/Config/GFX.ini, which creates graphical issues (at least with D3D11, for some reason it doesn't seem to affect Vulkan and GLcore 🤷 ):

This is because there should be only 5 values possible in GFX.ini:

So you're never supposed to have a value above "4" in the .ini but currently it can go up to "16"...

Anyway, this simple PR fixes this, tested with 007 - Nightfire and it works fine, here's some 300% zoom screenshots (clickable):

1x 2x
image image
4x 8x
image image
16x

image