mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-21 13:55:58 +00:00
Lossless: also take Lossless.dll from the x86-64 client's library
Lossless Scaling installed from the x86-64 client lands in its own
Steam folder, so LSFG stayed greyed out ("Install Lossless Scaling in
Steam") although it was installed.
This commit is contained in:
1 parent
fd1d9de636
commit
9ca4adc9c6
1 file changed
+2
@@ -167,6 +167,8 @@ object Lossless {
|
||||
private fun steamDll(context: Context): File? {
|
||||
val libraries = listOfNotNull(
|
||||
File(LinuxRuntime.rootDir(context), "root/.local/share/Steam"),
|
||||
// The x86-64 client keeps its own library (bannerlator-steam-x64).
|
||||
File(LinuxRuntime.rootDir(context), "root/.droiddeck-x64/.local/share/Steam"),
|
||||
GameStorage.effective(context)?.path?.let(::File),
|
||||
) + SessionPrefs.addedGamesDirs(context).map(::File)
|
||||
return libraries.map { File(it, STEAM_DLL) }.filter { it.isFile }.maxByOrNull { it.lastModified() }
|
||||
|
||||
Reference in new issue
Block a user