Skip to content

Commit

Permalink
MGS2/MGS3: Move anisotropic filtering to it's own section in the conf…
Browse files Browse the repository at this point in the history
…ig. Also set default sample count to 16.
  • Loading branch information
Lyall committed Nov 1, 2023
1 parent 4a8e0a1 commit 90f9416
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion MGSHDFix.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@ Width = 0
Height = 0
Windowed = false
Borderless = false

[Anisotropic Filtering]
; Anisotropic Filtering: valid values are 0 - 16
; Experimental, may take effect on more textures than it should
Anisotropic Filtering = 0
Samples = 16

[Framebuffer Fix]
; Forces the framebuffer size to be the same as the custom resolution.
Expand Down
2 changes: 1 addition & 1 deletion src/dllmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ void ReadConfig()
inipp::get_value(ini.sections["Custom Resolution"], "Height", iCustomResY);
inipp::get_value(ini.sections["Custom Resolution"], "Windowed", bWindowedMode);
inipp::get_value(ini.sections["Custom Resolution"], "Borderless", bBorderlessMode);
inipp::get_value(ini.sections["Custom Resolution"], "Anisotropic Filtering", iAnisotropicFiltering);
inipp::get_value(ini.sections["Anisotropic Filtering"], "Samples", iAnisotropicFiltering);
inipp::get_value(ini.sections["Framebuffer Fix"], "Enabled", bFramebufferFix);
inipp::get_value(ini.sections["Skip Intro Logos"], "Enabled", bSkipIntroLogos);
inipp::get_value(ini.sections["Disable Background Input"], "Enabled", bDisableBackgroundInput);
Expand Down

0 comments on commit 90f9416

Please sign in to comment.