-
Notifications
You must be signed in to change notification settings - Fork 92
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
Add missing definitions for adhoc matching headers #839
Conversation
include/psp2/net/adhoc_matching.h
Outdated
SCE_NET_ADHOC_MATCHING_HANDLER_EVENT_BYE = 10, | ||
SCE_NET_ADHOC_MATCHING_HANDLER_EVENT_DATA = 11, | ||
SCE_NET_ADHOC_MATCHING_HANDLER_EVENT_DATA_ACK = 12, | ||
SCE_NET_ADHOC_MATCHING_HANDLER_EVENT_DATA_TIMEOUT = 13 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- have you get these enums via reversing module by yourself?
- doesn't referenced leaked/official sdk?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I reversed and re-implemented the full module in Vita3K/Vita3K#3470 although my work is a continuation of another WIP from another user that happens to have this exact enum already. The module behavior does seem to match with the enum names.
Since I can't confirm the source of this enum I can remove it as it's not essential for this header to work properly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep. please remove them and keep only your own reversing part. we cannot allow official sdk part. unknown source has same risk.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@german77 sorry. something mores.
- are remain enums safe?
- please match code convention
- use hardtab for indentation
- if you doesn't have special reason, please use
snake_case
for structure field & function arguments (code coventions)- for example;
optLen
to beopt_len
- for example;
@Princess-of-Sleeping can you support this review if I late :'(
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remaining enums are safe. I did the rest of this header by myself and I also have an usage example that I will upstream once this is merged. I will address the formatting issues in the following minutes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just as a side note the files in the same folder as this one don't match the convention.
943fbc5
to
c5a62e1
Compare
ah you should define doc group in here |
ty for your contribution & patient :) |
No description provided.