androiiii

This commit is contained in:
lizzie
2026-03-26 04:46:56 +00:00
committed by crueter
parent f870aa1f2d
commit c5d53b20c2
5 changed files with 16 additions and 1 deletions
@@ -70,6 +70,7 @@ enum class IntSetting(override val key: String) : AbstractIntSetting {
INPUT_OVERLAY_AUTO_HIDE("input_overlay_auto_hide"),
OVERLAY_GRID_SIZE("overlay_grid_size"),
GPU_LOG_RING_BUFFER_SIZE("gpu_log_ring_buffer_size")
PRODUCT_MODEL("product_model")
;
override fun getInt(needsGlobal: Boolean): Int = NativeConfig.getInt(key, needsGlobal)
@@ -965,6 +965,16 @@ abstract class SettingsItem(
max = 4096
)
)
put(
SpinBoxSetting(
IntSetting.PRODUCT_MODEL,
titleId = R.string.product_model,
descriptionId = R.string.product_model_description,
valueHint = R.string.product_model,
min = 1,
max = 2
)
)
val fastmem = object : AbstractBooleanSetting {
override fun getBoolean(needsGlobal: Boolean): Boolean =
@@ -1265,6 +1265,7 @@ class SettingsFragmentPresenter(
add(BooleanSetting.GPU_LOG_MEMORY_TRACKING.key)
add(BooleanSetting.GPU_LOG_DRIVER_DEBUG.key)
add(IntSetting.GPU_LOG_RING_BUFFER_SIZE.key)
add(IntSetting.PRODUCT_MODEL.key)
}
}
@@ -586,6 +586,9 @@
<string name="gpu_log_ring_buffer_size_description">Number of recent Vulkan calls to track (default: 512)</string>
<string name="gpu_log_ring_buffer_size_hint">64 to 4096 entries</string>
<string name="product_model">Product model</string>
<string name="product_model_description">Reported product model by HLE firmware</string>
<string name="general">General</string>
<!-- Audio settings strings -->