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

Updated ncm to new libnx ipc #331

Merged
merged 15 commits into from Sep 26, 2019
Merged

Updated ncm to new libnx ipc #331

merged 15 commits into from Sep 26, 2019

Conversation

Adubbz
Copy link
Contributor

@Adubbz Adubbz commented Sep 24, 2019

Updates to use the new ipc setup, renamed various stuff to be more accurate, added all remaining commands

@Adubbz Adubbz mentioned this pull request Sep 24, 2019
@fincs fincs requested a review from yellows8 September 24, 2019 11:55
@Adubbz Adubbz changed the title Updated to new libnx ipc Updated ncm to new libnx ipc Sep 24, 2019
@yellows8
Copy link
Contributor

Add ///< [...] comments in the .h for required sysver (same style as wiki).

nx/source/services/ncm.c Outdated Show resolved Hide resolved
nx/source/services/ncm.c Outdated Show resolved Hide resolved
@yellows8
Copy link
Contributor

Dedicated Close funcs for NcmContentStorage/NcmContentMetaDatabase which use serviceClose() have also been missing...

…m-new-ipc

# Conflicts:
#	nx/include/switch/services/ncm.h
nx/source/services/ncm.c Outdated Show resolved Hide resolved
nx/source/services/ncm.c Outdated Show resolved Hide resolved
nx/source/services/ncm.c Outdated Show resolved Hide resolved
nx/source/services/ncm.c Outdated Show resolved Hide resolved
nx/source/services/ncm.c Outdated Show resolved Hide resolved
@yellows8
Copy link
Contributor

Guess this wasn't really tested?

A future PR which adds docs for all ncm funcs would be great too btw.

@Adubbz
Copy link
Contributor Author

Adubbz commented Sep 25, 2019

I assume that comment is because of the ncmOpenContentMetaDatabase bug, that was because of bad copying and pasting after changing to use _ncmGetInterfaceInU8 (you can see it was fine prior to that). Prior to doing that I tested the main commands I use, as well as some of the more complicated new ones, but I don’t have test cases for each and every command, no.

@yellows8
Copy link
Contributor

ok

nx/source/services/ncm.c Outdated Show resolved Hide resolved
nx/source/services/ncm.c Outdated Show resolved Hide resolved
nx/source/services/ncm.c Outdated Show resolved Hide resolved
nx/source/services/ncm.c Outdated Show resolved Hide resolved
@yellows8 yellows8 merged commit 8330f23 into switchbrew:master Sep 26, 2019
@Adubbz Adubbz deleted the ncm-new-ipc branch September 30, 2019 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants