1
0
Fork 0
mirror of https://github.com/PabloMK7/citra.git synced 2025-07-03 22:15:15 +00:00

Add setting to Android (no UI)

This commit is contained in:
szdarkhack 2024-08-02 22:02:31 +03:00
parent 6f8e9b7f9b
commit 0f6997dcc8
3 changed files with 5 additions and 0 deletions
src/android/app/src/main
java/org/citra/citra_emu/features/settings/model
jni

View file

@ -26,6 +26,7 @@ enum class IntSetting(
AUDIO_INPUT_TYPE("output_type", Settings.SECTION_AUDIO, 0),
NEW_3DS("is_new_3ds", Settings.SECTION_SYSTEM, 1),
LLE_APPLETS("lle_applets", Settings.SECTION_SYSTEM, 0),
STEPS_PER_HOUR("steps_per_hour", Settings.SECTION_SYSTEM, 0),
CPU_CLOCK_SPEED("cpu_clock_percentage", Settings.SECTION_CORE, 100),
LINEAR_FILTERING("filter_mode", Settings.SECTION_RENDERER, 1),
SHADERS_ACCURATE_MUL("shaders_accurate_mul", Settings.SECTION_RENDERER, 0),

View file

@ -223,6 +223,7 @@ void Config::ReadValues() {
ReadSetting("System", Settings::values.init_ticks_override);
ReadSetting("System", Settings::values.plugin_loader_enabled);
ReadSetting("System", Settings::values.allow_plugin_loader);
ReadSetting("System", Settings::values.steps_per_hour);
// Camera
using namespace Service::CAM;

View file

@ -307,6 +307,9 @@ init_ticks_type =
# Defaults to 0.
init_ticks_override =
# Number of steps per hour reported by the pedometer (Default 0)
steps_per_hour =
# Plugin loader state, if enabled plugins will be loaded from the SD card.
# You can also set if homebrew apps are allowed to enable the plugin loader
plugin_loader =