Decrease audio thread priority when created

This commit is contained in:
Francisco Javier Trujillo Mata authored and Ryan C. Gordon committed 2022-08-14 08:13:17 -04:00
1 parent cf134235d7
commit 5b4b4fa1ff
1 file changed
+1 -1
+1 -1
View File
@@ -130,7 +130,7 @@ static void PS2AUDIO_ThreadInit(_THIS)
ee_thread_status_t status;
thid = GetThreadId();
if (ReferThreadStatus(GetThreadId(), &status) == 0) {
ChangeThreadPriority(thid, status.current_priority);
ChangeThreadPriority(thid, status.current_priority - 1);
}
}