Use high-priority thread for emulation

This commit is contained in:
2024-11-10 18:19:25 -05:00
parent 6dc3697baf
commit e8b706df20
3 changed files with 38 additions and 11 deletions
Generated
+21
View File
@@ -1892,6 +1892,12 @@ dependencies = [
"windows-sys 0.52.0",
]
[[package]]
name = "rustversion"
version = "1.0.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0e819f2bc632f285be6d7cd36e25940d45b2391dd6d9b939e79de557f7014248"
[[package]]
name = "same-file"
version = "1.0.6"
@@ -1972,6 +1978,7 @@ dependencies = [
"pollster",
"rtrb",
"rubato",
"thread-priority",
"wgpu",
"winit",
]
@@ -2118,6 +2125,20 @@ dependencies = [
"syn 2.0.87",
]
[[package]]
name = "thread-priority"
version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cfe075d7053dae61ac5413a34ea7d4913b6e6207844fd726bdd858b37ff72bf5"
dependencies = [
"bitflags 2.6.0",
"cfg-if",
"libc",
"log",
"rustversion",
"winapi",
]
[[package]]
name = "tiny-skia"
version = "0.11.4"