mirror of
https://github.com/skyline-emu/skyline.git
synced 2025-01-01 06:45:28 +03:00
Add a gpuDriver
preference setting
This setting represent the GPU driver selected by the user to be used by the emulator.
This commit is contained in:
parent
1815199d2b
commit
e9f609b923
@ -35,6 +35,9 @@ class PreferenceSettings @Inject constructor(@ApplicationContext private val con
|
||||
var orientation by sharedPreferences(context, ActivityInfo.SCREEN_ORIENTATION_SENSOR_LANDSCAPE)
|
||||
var respectDisplayCutout by sharedPreferences(context, false)
|
||||
|
||||
// GPU
|
||||
var gpuDriver by sharedPreferences(context, SYSTEM_GPU_DRIVER)
|
||||
|
||||
// Input
|
||||
var onScreenControl by sharedPreferences(context, true)
|
||||
var onScreenControlRecenterSticks by sharedPreferences(context, true)
|
||||
@ -42,4 +45,8 @@ class PreferenceSettings @Inject constructor(@ApplicationContext private val con
|
||||
// Other
|
||||
var romFormatFilter by sharedPreferences(context, 0)
|
||||
var refreshRequired by sharedPreferences(context, false)
|
||||
|
||||
companion object {
|
||||
const val SYSTEM_GPU_DRIVER = "system"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user