mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-04-22 20:44:49 +00:00
Add eof newlines
This commit is contained in:
parent
f044c52e7d
commit
c20d123f60
45 changed files with 46 additions and 47 deletions
|
@ -86,4 +86,4 @@ namespace sts::lr::impl {
|
|||
return ResultSuccess;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -30,4 +30,4 @@ namespace sts::lr::impl {
|
|||
Result RefreshLocationResolver(ncm::StorageId storage_id);
|
||||
Result OpenAddOnContentLocationResolver(Out<std::shared_ptr<AddOnContentLocationResolverInterface>> out);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -96,4 +96,4 @@ namespace sts::lr::impl {
|
|||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -42,4 +42,4 @@ namespace sts::lr::impl {
|
|||
void ClearRedirections(u32 flags = RedirectionFlags_None);
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -94,4 +94,4 @@ namespace sts::lr::impl {
|
|||
template<typename Key, size_t NumEntries>
|
||||
using RegisteredStorages = RegisteredData<Key, ncm::StorageId, NumEntries>;
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -706,4 +706,4 @@ namespace sts::ncm::impl {
|
|||
|
||||
return ResultSuccess;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -44,4 +44,4 @@ namespace sts::ncm::impl {
|
|||
Result ActivateContentMetaDatabase(StorageId storage_id);
|
||||
Result InactivateContentMetaDatabase(StorageId storage_id);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -235,4 +235,4 @@ namespace sts::ncm::impl {
|
|||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -76,4 +76,4 @@ namespace sts::ncm::impl {
|
|||
void InvalidateAll();
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -28,4 +28,4 @@ namespace sts::ncm::impl {
|
|||
return &g_rights_id_cache;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -41,4 +41,4 @@ namespace sts::ncm::impl {
|
|||
|
||||
RightsIdCache* GetRightsIdCache();
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -54,4 +54,4 @@ namespace sts::lr {
|
|||
return ResultSuccess;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -43,4 +43,4 @@ namespace sts::lr {
|
|||
};
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -195,4 +195,4 @@ namespace sts::lr {
|
|||
return ResultSuccess;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -31,8 +31,7 @@ namespace sts::lr {
|
|||
std::shared_ptr<ncm::IContentMetaDatabase> content_meta_database;
|
||||
std::shared_ptr<ncm::IContentStorage> content_storage;
|
||||
public:
|
||||
ContentLocationResolverInterface(ncm::StorageId storage_id) : storage_id(storage_id) {
|
||||
}
|
||||
ContentLocationResolverInterface(ncm::StorageId storage_id) : storage_id(storage_id) { /* ... */ }
|
||||
|
||||
~ContentLocationResolverInterface();
|
||||
public:
|
||||
|
@ -81,4 +80,4 @@ namespace sts::lr {
|
|||
};
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -98,4 +98,4 @@ namespace sts::lr {
|
|||
std::abort();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -98,4 +98,4 @@ namespace sts::lr {
|
|||
};
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -36,4 +36,4 @@ namespace sts::lr {
|
|||
return impl::OpenAddOnContentLocationResolver(out);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -47,4 +47,4 @@ namespace sts::lr {
|
|||
};
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -171,4 +171,4 @@ namespace sts::lr {
|
|||
return ResultSuccess;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -71,4 +71,4 @@ namespace sts::lr {
|
|||
};
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -100,4 +100,4 @@ namespace sts::lr {
|
|||
return ResultSuccess;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -67,4 +67,4 @@ namespace sts::lr {
|
|||
};
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -77,4 +77,4 @@ namespace sts::ncm {
|
|||
return impl::InactivateContentMetaDatabase(storage_id);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -72,4 +72,4 @@ namespace sts::ncm {
|
|||
};
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -610,4 +610,4 @@ namespace sts::ncm {
|
|||
return ResultSuccess;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -141,4 +141,4 @@ namespace sts::ncm {
|
|||
};
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -655,4 +655,4 @@ namespace sts::ncm {
|
|||
return ResultSuccess;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -112,4 +112,4 @@ namespace sts::ncm {
|
|||
};
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -379,4 +379,4 @@ namespace sts::ncm {
|
|||
return ResultSuccess;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -113,4 +113,4 @@ namespace sts::ncm {
|
|||
return ResultSuccess;
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -118,4 +118,4 @@ namespace sts::ncm {
|
|||
std::abort();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -118,4 +118,4 @@ namespace sts::ncm {
|
|||
};
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -138,4 +138,4 @@ namespace sts::ncm {
|
|||
std::abort();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -123,4 +123,4 @@ namespace sts::ncm {
|
|||
};
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -164,4 +164,4 @@ int main(int argc, char **argv)
|
|||
sts::ncm::impl::FinalizeContentManager();
|
||||
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -90,4 +90,4 @@ namespace sts::ncm::path {
|
|||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -30,4 +30,4 @@ namespace sts::ncm::path {
|
|||
void MakePlaceHolderPathFlat(char* out_path, PlaceHolderId placeholder_id, const char* root);
|
||||
void MakePlaceHolderPathHashByteLayered(char* out_path, PlaceHolderId placeholder_id, const char* root);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -87,4 +87,4 @@ namespace sts::ncm::path {
|
|||
return this->path.substr(this->path.find_last_of("/") + 1);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -51,4 +51,4 @@ namespace sts::ncm::path {
|
|||
std::string_view GetFileName() const;
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -245,4 +245,4 @@ namespace sts::ncm {
|
|||
return ResultNcmInvalidContentStorageOperation;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -88,4 +88,4 @@ namespace sts::ncm {
|
|||
};
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -198,4 +198,4 @@ namespace sts::ncm {
|
|||
typedef void (*MakeContentPathFunc)(char* out, ContentId content_id, const char* root);
|
||||
typedef void (*MakePlaceHolderPathFunc)(char* out, PlaceHolderId placeholder_id, const char* root);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -78,4 +78,4 @@ namespace sts::ncm {
|
|||
return std::optional<ContentId>(content_id);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -29,4 +29,4 @@ namespace sts::ncm {
|
|||
Result GetPlaceHolderIdFromDirEntry(PlaceHolderId* out, struct dirent* dir_entry);
|
||||
std::optional<ContentId> GetContentIdFromString(const char* str, size_t len);
|
||||
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue