Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Adhoc] Fix frozen (0 FPS) issue on Kao Challengers and Asterix & Obelix XX #14106

Merged
merged 2 commits into from
Feb 11, 2021

Conversation

anr2me
Copy link
Collaborator

@anr2me anr2me commented Feb 10, 2021

Fix frozen (0 FPS) issue on Kao Challengers and Asterix & Obelix XX #14103
(probably also fix other games from the same developer/publisher with similar issue)

…probably also fix other games from the same developer with similar issue) hrydgard#14103
@anr2me
Copy link
Collaborator Author

anr2me commented Feb 10, 2021

It's kinda strange that both games are repeatedly getting WSAEOPNOTSUPP on PdpRecv, but didn't happened on other games, otherwise they won't be able to receive any data at all...

Edit: It seems MSG_TRUNC is not supported for recvfrom on Windows...

@anr2me anr2me marked this pull request as draft February 10, 2021 21:33
@anr2me
Copy link
Collaborator Author

anr2me commented Feb 10, 2021

Hmm.. although the freezes has been fixed, but other players are unable to join the hosted room :( need to fix this too

@anr2me anr2me marked this pull request as ready for review February 10, 2021 23:49
@anr2me
Copy link
Collaborator Author

anr2me commented Feb 10, 2021

This should works.

…er with max size as alternative for peeking actual size of the next pending message.
@anr2me
Copy link
Collaborator Author

anr2me commented Feb 11, 2021

Can i merge this for v1.11.1?
i'm worrying that MSG_TRUNC issue causing problem on other games too, since that thing doesn't even works on Windows LOL

@hrydgard
Copy link
Owner

OK!

@hrydgard hrydgard merged commit 5c6251a into hrydgard:master Feb 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Direct3D]Kao Kangaroo / Asterix & Obelix XXL:Mission WiFix - BSOD after HOSTING Ad-Hoc server - 1.11
2 participants