diff options
| author | Ryan Houdek <Sonicadvance1@gmail.com> | 2013-09-22 09:25:38 -0500 |
|---|---|---|
| committer | Ryan Houdek <Sonicadvance1@gmail.com> | 2013-09-22 09:25:38 -0500 |
| commit | 81effb80993c3f64e368f4e9fdd551e60ce2f8c0 (patch) | |
| tree | b18079d5ba8cfe5c4aa94ecd437f0edc9fc21a16 /Source/Android/src/org | |
| parent | 91619e28b85d513d0676accf3c785e10c31cb1b8 (diff) | |
[Android] Add in FSAA option.
Diffstat (limited to 'Source/Android/src/org')
| -rw-r--r-- | Source/Android/src/org/dolphinemu/dolphinemu/settings/UserPreferences.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/Android/src/org/dolphinemu/dolphinemu/settings/UserPreferences.java b/Source/Android/src/org/dolphinemu/dolphinemu/settings/UserPreferences.java index 93fc9cf890..eadd95bde4 100644 --- a/Source/Android/src/org/dolphinemu/dolphinemu/settings/UserPreferences.java +++ b/Source/Android/src/org/dolphinemu/dolphinemu/settings/UserPreferences.java @@ -43,6 +43,7 @@ public final class UserPreferences editor.putBoolean("drawOnscreenControls", getConfig("Dolphin.ini", "Android", "ScreenControls", "True").equals("True")); editor.putString("internalResolution", getConfig("gfx_opengl.ini", "Settings", "EFBScale", "2") ); + editor.putString("FSAA", getConfig("gfx_opengl.ini", "Settings", "MSAA", "0")); editor.putString("anisotropicFiltering", getConfig("gfx_opengl.ini", "Enhancements", "MaxAnisotropy", "0")); editor.putBoolean("scaledEFBCopy", getConfig("gfx_opengl.ini", "Hacks", "EFBScaleCopy", "True").equals("True")); editor.putBoolean("perPixelLighting", getConfig("gfx_opengl.ini", "Settings", "EnablePixelLighting", "False").equals("True")); @@ -158,6 +159,9 @@ public final class UserPreferences // Internal resolution. Falls back to 1x Native upon error. String internalResolution = prefs.getString("internalResolution", "2"); + // FSAA Level. Falls back to 1x upon error. + String FSAALevel = prefs.getString("FSAA", "0"); + // Anisotropic Filtering Level. Falls back to 1x upon error. String anisotropicFiltLevel = prefs.getString("anisotropicFiltering", "0"); @@ -236,6 +240,7 @@ public final class UserPreferences //-- Enhancement Settings --// NativeLibrary.SetConfig("gfx_opengl.ini", "Settings", "EFBScale", internalResolution); + NativeLibrary.SetConfig("gfx_opengl.ini", "Settings", "MSAA", FSAALevel); NativeLibrary.SetConfig("gfx_opengl.ini", "Enhancements", "MaxAnisotropy", anisotropicFiltLevel); NativeLibrary.SetConfig("gfx_opengl.ini", "Hacks", "EFBScaledCopy", usingScaledEFBCopy ? "True" : "False"); NativeLibrary.SetConfig("gfx_opengl.ini", "Settings", "EnablePixelLighting", usingPerPixelLighting ? "True" : "False"); |
