mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 12:32:40 +02:00
Updated the type for the size param for ncmContentStorageCreatePlaceHolder.
This commit is contained in:
parent
6c7ad3095c
commit
09423066b0
@ -170,7 +170,7 @@ Result ncmInvalidateRightsIdCache(void); ///< [9.0.0+]
|
||||
|
||||
void ncmContentStorageClose(NcmContentStorage* cs);
|
||||
Result ncmContentStorageGeneratePlaceHolderId(NcmContentStorage* cs, NcmPlaceHolderId* out_id);
|
||||
Result ncmContentStorageCreatePlaceHolder(NcmContentStorage* cs, const NcmContentId* content_id, const NcmPlaceHolderId* placeholder_id, u64 size);
|
||||
Result ncmContentStorageCreatePlaceHolder(NcmContentStorage* cs, const NcmContentId* content_id, const NcmPlaceHolderId* placeholder_id, s64 size);
|
||||
Result ncmContentStorageDeletePlaceHolder(NcmContentStorage* cs, const NcmPlaceHolderId* placeholder_id);
|
||||
Result ncmContentStorageHasPlaceHolder(NcmContentStorage* cs, bool* out, const NcmPlaceHolderId* placeholder_id);
|
||||
Result ncmContentStorageWritePlaceHolder(NcmContentStorage* cs, const NcmPlaceHolderId* placeholder_id, u64 offset, const void* data, size_t data_size);
|
||||
|
@ -130,11 +130,11 @@ Result ncmContentStorageGeneratePlaceHolderId(NcmContentStorage* cs, NcmPlaceHol
|
||||
return _ncmCmdOutPlaceHolderId(&cs->s, out_id, 0);
|
||||
}
|
||||
|
||||
Result ncmContentStorageCreatePlaceHolder(NcmContentStorage* cs, const NcmContentId* content_id, const NcmPlaceHolderId* placeholder_id, u64 size) {
|
||||
Result ncmContentStorageCreatePlaceHolder(NcmContentStorage* cs, const NcmContentId* content_id, const NcmPlaceHolderId* placeholder_id, s64 size) {
|
||||
const struct {
|
||||
NcmContentId content_id;
|
||||
NcmPlaceHolderId placeholder_id;
|
||||
u64 size;
|
||||
s64 size;
|
||||
} in = { *content_id, *placeholder_id, size };
|
||||
return serviceDispatchIn(&cs->s, 1, in);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user