Added delay result to SetSocketAlert for other threads that use the socket to trigger the alert.

This commit is contained in:
ANR2ME 2020-10-25 05:06:55 +07:00
parent d87713226c
commit 1bfe089785

View file

@ -1685,7 +1685,7 @@ int NetAdhoc_SetSocketAlert(int id, s32_le flag) {
adhocSockets[id - 1]->flags = flg;
adhocSockets[id - 1]->alerted_flags = 0;
return 0;
return hleDelayResult(0, "set socket alert delay", 1000);
}
// Flags seems to be bitmasks of ADHOC_F_ALERT... (need more games to test this)