mirror of
https://github.com/an-anime-team/sleepy-launcher.git
synced 2024-11-29 09:29:06 +03:00
Fixed Polish LANG value, made FSync default wine sync option
This commit is contained in:
parent
a53facfab3
commit
b27bda582e
2 changed files with 3 additions and 2 deletions
|
@ -84,7 +84,7 @@ impl WineLang {
|
|||
Self::Russian => "ru_RU.UTF8",
|
||||
Self::German => "de_DE.UTF8",
|
||||
Self::Portuguese => "pt_PT.UTF8",
|
||||
Self::Polish => "pl-PL.UTF8",
|
||||
Self::Polish => "pl_PL.UTF8",
|
||||
Self::French => "fr_FR.UTF8",
|
||||
Self::Spanish => "es_ES.UTF8",
|
||||
Self::Chinese => "zh_CN.UTF8",
|
||||
|
|
|
@ -13,7 +13,7 @@ pub enum WineSync {
|
|||
|
||||
impl Default for WineSync {
|
||||
fn default() -> Self {
|
||||
Self::ESync
|
||||
Self::FSync
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -32,6 +32,7 @@ impl TryFrom<u32> for WineSync {
|
|||
1 => Ok(Self::ESync),
|
||||
2 => Ok(Self::FSync),
|
||||
3 => Ok(Self::Futex2),
|
||||
|
||||
_ => Err(String::from("Failed to convert number to WineSync enum"))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue