mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Android: Remove GPU driver from per-game settings
This commit is contained in:
parent
bd125733f0
commit
38a5774a85
@ -65,7 +65,12 @@ class SettingsFragmentPresenter(
|
||||
controllerNumber = menuTag.subType
|
||||
} else if (menuTag.isSerialPort1Menu) {
|
||||
serialPort1Type = extras.getInt(ARG_SERIALPORT1_TYPE)
|
||||
} else if (menuTag == MenuTag.GRAPHICS) {
|
||||
} else if (
|
||||
menuTag == MenuTag.GRAPHICS
|
||||
&& this.gameId.isNullOrEmpty()
|
||||
&& !NativeLibrary.IsRunning()
|
||||
&& GpuDriverHelper.supportsCustomDriverLoading()
|
||||
) {
|
||||
this.gpuDriver =
|
||||
GpuDriverHelper.getInstalledDriverMetadata() ?: GpuDriverHelper.getSystemDriverMetadata(
|
||||
context.applicationContext
|
||||
@ -1265,7 +1270,11 @@ class SettingsFragmentPresenter(
|
||||
)
|
||||
)
|
||||
|
||||
if (GpuDriverHelper.supportsCustomDriverLoading() && this.gpuDriver != null) {
|
||||
if (
|
||||
this.gpuDriver != null && this.gameId.isNullOrEmpty()
|
||||
&& !NativeLibrary.IsRunning()
|
||||
&& GpuDriverHelper.supportsCustomDriverLoading()
|
||||
) {
|
||||
sl.add(
|
||||
SubmenuSetting(
|
||||
context,
|
||||
|
Loading…
Reference in New Issue
Block a user