mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-04-22 04:24:48 +00:00
ncm: fix dangling fsdev usage
This commit is contained in:
parent
a397853e3b
commit
524582fd7d
2 changed files with 3 additions and 2 deletions
|
@ -294,7 +294,7 @@ namespace ams::ncm {
|
|||
Result ContentMetaDatabaseImpl::Commit() {
|
||||
R_TRY(this->EnsureEnabled());
|
||||
R_TRY(this->kvs->Save());
|
||||
return fsdevCommitDevice(this->mount_name);
|
||||
return fs::CommitSaveData(this->mount_name);
|
||||
}
|
||||
|
||||
Result ContentMetaDatabaseImpl::HasContent(sf::Out<bool> out, const ContentMetaKey &key, const ContentId &content_id) {
|
||||
|
|
|
@ -72,6 +72,7 @@ void __appInit(void) {
|
|||
|
||||
sm::DoWithSession([&]() {
|
||||
R_ABORT_UNLESS(fsInitialize());
|
||||
R_ABORT_UNLESS(splInitialize());
|
||||
});
|
||||
|
||||
ams::CheckApiVersion();
|
||||
|
@ -79,7 +80,7 @@ void __appInit(void) {
|
|||
|
||||
void __appExit(void) {
|
||||
/* Cleanup services. */
|
||||
fsdevUnmountAll();
|
||||
splExit();
|
||||
fsExit();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue