pf2: add volume init, context register/unregister

This commit is contained in:
Michael Scire
2020-11-26 03:27:07 -08:00
parent f9c5470ac9
commit 7b01d59b3b
19 changed files with 883 additions and 85 deletions

View File

@@ -29,10 +29,10 @@ namespace ams::prfile2::system {
/* ... */
}
pf::Error GetCurrentContextId(u64 *out) {
int GetCurrentContextId(u64 *out) {
/* Check that out isn't null. */
if (out == nullptr) {
return static_cast<pf::Error>(-2);
return -2;
}
/* Set the output. */
@@ -42,7 +42,7 @@ namespace ams::prfile2::system {
*out = 0;
#endif
return pf::Error_Ok;
return 0;
}
}