mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-26 14:00:53 +01:00
Just use the syscall directly rather than call through the glibc interface. The getpriority syscall biases the return value so it never returns a negative, while the glibc interface returns [-20,19), so you need to do some errno juggling for the -1 return. Just use the syscall directly instead Fixes some game complaining heavily when getpriority results were wrong