pf2: add volume init, context register/unregister
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user