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

Netplay: Don't log skippable events as errors #12258

Merged
merged 1 commit into from Nov 1, 2023

Conversation

skyfloogle
Copy link
Contributor

A few days ago, I was asked about "unknown event type: 42" errors appearing in the Dolphin log. After investigating, it turned out that these logging calls were added in #11704, without taking into account the Dolphin-specific hack for skipping events relating to traversal and wake-up packets in the main ENet code.
This PR adjusts the logging so that these skipped events are not logged as errors, in case someone asks about this in future. It also gives the 42 constant a name. I put it in ENet.h since that was the lowest common denominator of all the places where it was used.

@AdmiralCurtiss
Copy link
Contributor

Is what we're doing here even allowed by enet? But yeah this makes it a lot more explicit at least.

@AdmiralCurtiss AdmiralCurtiss merged commit ff009dd into dolphin-emu:master Nov 1, 2023
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants