Add font rendering enable/disable to Java.

This commit is contained in:
Themaister 2013-01-05 23:48:05 +01:00
parent bccfd9f013
commit 284014a4cc
2 changed files with 13 additions and 6 deletions

View File

@ -123,13 +123,18 @@
android:key="video_fbo_scale"
android:summary="Scale to use when rendering to FBO."
android:title="FBO scale" />
<CheckBoxPreference
android:defaultValue="true"
android:key="video_second_pass_smooth"
android:summary="Use Bilinear filtering on FBO texture on second pass."
android:title="Second pass Bilinear Filtering" />
</PreferenceCategory>
<PreferenceCategory android:title="Fonts">
<CheckBoxPreference android:title="Enable on-screen fonts"
android:summary="Enable rendering of on-screen fonts for messages."
android:key="video_font_enable"
android:defaultValue="true"/>
</PreferenceCategory>
<CheckBoxPreference
android:defaultValue="true"
android:key="video_second_pass_smooth"
android:summary="Use Bilinear filtering on FBO texture on second pass."
android:title="Second pass Bilinear Filtering" />
</PreferenceScreen>
<PreferenceScreen android:title="Audio Settings" >
<PreferenceCategory android:title="Audio" >

View File

@ -260,6 +260,8 @@ public class RetroArch extends Activity implements
prefs.getString("savefile_directory", "") : "");
config.setString("savestate_directory", prefs.getBoolean("savestate_directory_enable", false) ?
prefs.getString("savestate_directory", "") : "");
config.setBoolean("video_font_enable", prefs.getBoolean("video_font_enable", true));
String confPath = getDefaultConfigPath();
try {