mirror of
https://github.com/PabloMK7/citra.git
synced 2025-09-09 20:30:05 +00:00
frontend: Add setting for whether to use LLE applets. (#7345)
This commit is contained in:
parent
c59ef7d793
commit
f26044bb88
15 changed files with 88 additions and 40 deletions
|
@ -25,6 +25,7 @@ enum class IntSetting(
|
|||
SCREEN_LAYOUT("layout_option", Settings.SECTION_LAYOUT, 0),
|
||||
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),
|
||||
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),
|
||||
|
@ -61,6 +62,7 @@ enum class IntSetting(
|
|||
EMULATED_REGION,
|
||||
INIT_CLOCK,
|
||||
NEW_3DS,
|
||||
LLE_APPLETS,
|
||||
GRAPHICS_API,
|
||||
VSYNC,
|
||||
DEBUG_RENDERER,
|
||||
|
|
|
@ -907,6 +907,15 @@ class SettingsFragmentPresenter(private val fragmentView: SettingsFragmentView)
|
|||
IntSetting.NEW_3DS.defaultValue
|
||||
)
|
||||
)
|
||||
add(
|
||||
SwitchSetting(
|
||||
IntSetting.LLE_APPLETS,
|
||||
R.string.lle_applets,
|
||||
0,
|
||||
IntSetting.LLE_APPLETS.key,
|
||||
IntSetting.LLE_APPLETS.defaultValue
|
||||
)
|
||||
)
|
||||
add(
|
||||
SliderSetting(
|
||||
IntSetting.CPU_CLOCK_SPEED,
|
||||
|
|
|
@ -206,6 +206,7 @@ void Config::ReadValues() {
|
|||
|
||||
// System
|
||||
ReadSetting("System", Settings::values.is_new_3ds);
|
||||
ReadSetting("System", Settings::values.lle_applets);
|
||||
ReadSetting("System", Settings::values.region_value);
|
||||
ReadSetting("System", Settings::values.init_clock);
|
||||
{
|
||||
|
|
|
@ -270,6 +270,10 @@ use_virtual_sd =
|
|||
# 0: Old 3DS (default), 1: New 3DS
|
||||
is_new_3ds =
|
||||
|
||||
# Whether to use LLE system applets, if installed
|
||||
# 0 (default): No, 1: Yes
|
||||
lle_applets =
|
||||
|
||||
# The system region that Citra will use during emulation
|
||||
# -1: Auto-select (default), 0: Japan, 1: USA, 2: Europe, 3: Australia, 4: China, 5: Korea, 6: Taiwan
|
||||
region_value =
|
||||
|
|
|
@ -171,6 +171,7 @@
|
|||
<!-- System settings strings -->
|
||||
<string name="username">Username</string>
|
||||
<string name="new_3ds">New 3DS Mode</string>
|
||||
<string name="lle_applets">Use LLE Applets (if installed)</string>
|
||||
<string name="clock">Clock</string>
|
||||
<string name="init_time">Offset Time</string>
|
||||
<string name="init_time_description">If the clock is set to \"Simulated clock\", this changes the fixed date and time to start at.</string>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue