diff options
| author | Lioncash <mathew1800@gmail.com> | 2013-09-01 03:07:16 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2013-09-01 03:07:16 -0400 |
| commit | 440ae412b048a5686cb2197ff67f83166ec1541b (patch) | |
| tree | c24c7fe0f79ac060c67d0c7d9f7d605c360f1127 /Source/Android/res | |
| parent | b03ff7a86b66435da4a6c65da6afaafce8e1a7bb (diff) | |
[Android] Add the option to show the on-screen FPS counter.
Diffstat (limited to 'Source/Android/res')
| -rw-r--r-- | Source/Android/res/values-ja/strings.xml | 2 | ||||
| -rw-r--r-- | Source/Android/res/values/strings.xml | 2 | ||||
| -rw-r--r-- | Source/Android/res/xml/video_prefs.xml | 55 |
3 files changed, 34 insertions, 25 deletions
diff --git a/Source/Android/res/values-ja/strings.xml b/Source/Android/res/values-ja/strings.xml index 71cdcd47b3..9e53c0a9c7 100644 --- a/Source/Android/res/values-ja/strings.xml +++ b/Source/Android/res/values-ja/strings.xml @@ -80,6 +80,8 @@ <string name="opengl_es3">OpenGL ES 3</string> <string name="video_backend">ビデオレンダラ</string> <string name="video_backend_to_use">使用するビデオレンダラー</string> + <string name="show_fps">FPSを表示</string> + <string name="show_fps_descrip">エミュレーション速度の指標として、画面左上に毎秒レンダリングされた フレーム数を表示します。</string> <string name="draw_onscreen_controls">画面上のコントロールを描画</string> <string name="enhancements">画質向上の設定</string> diff --git a/Source/Android/res/values/strings.xml b/Source/Android/res/values/strings.xml index 99522f5f00..bf9fd9eaa1 100644 --- a/Source/Android/res/values/strings.xml +++ b/Source/Android/res/values/strings.xml @@ -80,6 +80,8 @@ <string name="opengl_es3">OpenGL ES 3</string> <string name="video_backend">Video Backend</string> <string name="video_backend_to_use">Video backend to use</string> + <string name="show_fps">Show FPS</string> + <string name="show_fps_descrip">Show the number of frames rendered per second as a measure of emulation speed.</string> <string name="draw_onscreen_controls">Draw on-screen controls</string> <string name="enhancements">Enhancements</string> diff --git a/Source/Android/res/xml/video_prefs.xml b/Source/Android/res/xml/video_prefs.xml index ec0c1837f7..6ec29c13a0 100644 --- a/Source/Android/res/xml/video_prefs.xml +++ b/Source/Android/res/xml/video_prefs.xml @@ -3,66 +3,66 @@ <!-- Video Settings --> - + <!-- Video Enhancements --> <PreferenceScreen android:title="@string/enhancements"> - + <ListPreference android:entries="@array/internalResolutionEntries" android:entryValues="@array/internalResolutionValues" android:key="internalResolution" android:summary="@string/internal_resolution_descrip" android:title="@string/internal_resolution"/> - + <ListPreference android:entries="@array/anisotropicFilteringEntries" android:entryValues="@array/anisotropicFilteringValues" android:key="anisotropicFiltering" android:summary="@string/anisotropic_filtering_descrip" android:title="@string/anisotropic_filtering"/> - + <CheckBoxPreference android:defaultValue="true" android:key="scaledEFBCopy" android:summary="@string/scaled_efb_copy_descrip" android:title="@string/scaled_efb_copy"/> - + <CheckBoxPreference android:defaultValue="false" android:key="perPixelLighting" android:summary="@string/per_pixel_lighting_descrip" android:title="@string/per_pixel_lighting"/> - + <CheckBoxPreference android:defaultValue="false" android:key="forceTextureFiltering" android:summary="@string/force_texture_filtering_descrip" android:title="@string/force_texture_filtering"/> - + <CheckBoxPreference android:defaultValue="false" android:key="disableFog" android:summary="@string/disable_fog_descrip" android:title="@string/disable_fog"/> - + </PreferenceScreen> - + <!-- Video Hacks --> <PreferenceScreen android:title="@string/hacks"> <PreferenceCategory android:title="@string/embedded_frame_buffer"> - + <CheckBoxPreference android:defaultValue="false" android:key="skipEFBAccess" android:summary="@string/skip_efb_access_descrip" android:title="@string/skip_efb_access"/> - + <CheckBoxPreference android:defaultValue="true" android:key="ignoreFormatChanges" android:summary="@string/ignore_format_changes_descrip" android:title="@string/ignore_format_changes"/> - + <ListPreference android:defaultValue="Texture" android:entries="@array/efbCopyMethodEntries" @@ -70,9 +70,9 @@ android:key="efbCopyMethod" android:summary="@string/efb_copy_method_descrip" android:title="@string/efb_copy_method"/> - + </PreferenceCategory> - + <!-- Texture Cache --> <PreferenceCategory android:title="@string/texture_cache"> <ListPreference @@ -83,7 +83,7 @@ android:summary="@string/texture_cache_accuracy_descrip" android:title="@string/texture_cache_accuracy"/> </PreferenceCategory> - + <!-- External Frame Buffer --> <PreferenceCategory android:title="@string/external_frame_buffer"> <ListPreference @@ -94,36 +94,41 @@ android:summary="@string/external_frame_buffer_descrip" android:title="@string/external_frame_buffer"/> </PreferenceCategory> - - + + <!-- Other Hacks --> <PreferenceCategory android:title="@string/other"> - + <CheckBoxPreference android:defaultValue="false" android:key="cacheDisplayLists" android:summary="@string/cache_display_lists_descrip" android:title="@string/cache_display_lists"/> - + <CheckBoxPreference android:defaultValue="false" android:key="disableDestinationAlpha" android:summary="@string/disable_destination_alpha_descrip" android:title="@string/disable_destination_alpha"/> - + <CheckBoxPreference android:defaultValue="true" android:key="fastDepthCalculation" android:summary="@string/fast_depth_calculation_descrip" android:title="@string/fast_depth_calculation"/> - + </PreferenceCategory> </PreferenceScreen> - + <ListPreference - android:key="gpuPref" - android:summary="@string/video_backend_to_use" - android:title="@string/video_backend" /> + android:key="gpuPref" + android:summary="@string/video_backend_to_use" + android:title="@string/video_backend" /> + + <CheckBoxPreference + android:key="showFPS" + android:summary="@string/show_fps_descrip" + android:title="@string/show_fps"/> <CheckBoxPreference android:defaultValue="true" |
