mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-04 10:32:15 +02:00
add missing parameters to comment
move start towards variable name
This commit is contained in:
parent
65717dc020
commit
6d653fd255
@ -32,8 +32,10 @@ Result capsaGetAlbumFileCount(CapsAlbumStorage storage, u64* count);
|
|||||||
* @brief Gets a listing of \ref CapsAlbumEntry, where the AlbumFile's storage matches the input one.
|
* @brief Gets a listing of \ref CapsAlbumEntry, where the AlbumFile's storage matches the input one.
|
||||||
* @param[in] storage \ref CapsAlbumStorage
|
* @param[in] storage \ref CapsAlbumStorage
|
||||||
* @param[out] count Total output entries.
|
* @param[out] count Total output entries.
|
||||||
|
* @param[out] entries Output array of \ref CapsAlbumEntry.
|
||||||
|
* @param[in] size Reserved size at entries
|
||||||
*/
|
*/
|
||||||
Result capsaGetAlbumFileList(CapsAlbumStorage storage, u64* count, CapsAlbumEntry* buffer, u64 size);
|
Result capsaGetAlbumFileList(CapsAlbumStorage storage, u64 *count, CapsAlbumEntry *entries, u64 size);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Loads a file into the specified buffer.
|
* @brief Loads a file into the specified buffer.
|
||||||
|
@ -37,7 +37,7 @@ Result capsaGetAlbumFileCount(CapsAlbumStorage storage, u64* count) {
|
|||||||
return serviceDispatchInOut(&g_capsaSrv, 0, inval, *count);
|
return serviceDispatchInOut(&g_capsaSrv, 0, inval, *count);
|
||||||
}
|
}
|
||||||
|
|
||||||
Result capsaGetAlbumFileList(CapsAlbumStorage storage, u64* count, CapsAlbumEntry* buffer, u64 buffer_size) {
|
Result capsaGetAlbumFileList(CapsAlbumStorage storage, u64 *count, CapsAlbumEntry *entries, u64 size) {
|
||||||
u8 inval = storage;
|
u8 inval = storage;
|
||||||
return serviceDispatchInOut(&g_capsaSrv, 1, inval, *count,
|
return serviceDispatchInOut(&g_capsaSrv, 1, inval, *count,
|
||||||
.buffer_attrs = { SfBufferAttr_HipcMapAlias | SfBufferAttr_Out },
|
.buffer_attrs = { SfBufferAttr_HipcMapAlias | SfBufferAttr_Out },
|
||||||
|
Loading…
Reference in New Issue
Block a user