Added Futex2 option for Wine synchronization settings

This commit is contained in:
Observer KRypt0n_ 2022-02-03 22:25:05 +02:00
parent 48f67d461a
commit 791614bdcd
No known key found for this signature in database
GPG key ID: DC5D4EC1303465DA
11 changed files with 18 additions and 1 deletions

View file

@ -141,6 +141,7 @@ settings:
none: Aus
esync: Esync
fsync: Fsync
futex2: Futex2
# Wine Virtual Desktop
winevd:

View file

@ -141,6 +141,7 @@ settings:
none: None
esync: ESync
fsync: FSync
futex2: Futex2
# Wine Virtual Desktop
winevd:

View file

@ -141,6 +141,7 @@ settings:
none: Ninguna
esync: ESync
fsync: FSync
futex2: Futex2
# Escritorio Virtual de Wine
winevd:

View file

@ -143,6 +143,7 @@ settings:
none: Aucune
esync: ESync
fsync: FSync
futex2: Futex2
# Wine Virtual Desktop
winevd:

View file

@ -141,6 +141,7 @@ settings:
none: Nincs
esync: ESync
fsync: FSync
futex2: Futex2
# GameMode
gamemode:

View file

@ -140,6 +140,7 @@ settings:
none: None
esync: ESync
fsync: FSync
futex2: Futex2
# Wine Virtual Desktop
winevd:

View file

@ -140,6 +140,7 @@ settings:
none: Nessuno
esync: ESync
fsync: FSync
futex2: Futex2
# Wine Virtual Desktop
winevd:

View file

@ -141,6 +141,7 @@ settings:
none: Отключена
esync: ESync
fsync: FSync
futex2: Futex2
# Виртуальный рабочий стол Wine
winevd:

View file

@ -141,6 +141,7 @@ settings:
none: none
esync: Esync
fsync: Fsync
futex2: Futex2
# Wine Virtual Desktop
winevd:

View file

@ -320,7 +320,8 @@
items={{
'none': 'settings.enhancements.items.winesync.items.none',
'esync': 'settings.enhancements.items.winesync.items.esync',
'fsync': 'settings.enhancements.items.winesync.items.fsync'
'fsync': 'settings.enhancements.items.winesync.items.fsync',
'futex2': 'settings.enhancements.items.winesync.items.futex2'
}}
/>

View file

@ -87,6 +87,13 @@ export default (launcher: Launcher): Promise<void> => {
env['WINEESYNC'] = 1;
env['WINEFSYNC'] = 1;
break;
case 'futex2':
env['WINEESYNC'] = 1;
env['WINEFSYNC'] = 1;
env['WINEFSYNC_FUTEX2'] = 1;
break;
}