mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-04 10:32:15 +02:00
fix codestyle
This commit is contained in:
parent
9a4da868b2
commit
c92b4b0dd9
@ -394,8 +394,10 @@ Result ncmContentMetaDatabaseList(NcmContentMetaDatabase* db, s32* out_entries_t
|
|||||||
.buffer_attrs = { SfBufferAttr_HipcMapAlias | SfBufferAttr_Out },
|
.buffer_attrs = { SfBufferAttr_HipcMapAlias | SfBufferAttr_Out },
|
||||||
.buffers = { { out_keys, count*sizeof(NcmContentMetaKey) } },
|
.buffers = { { out_keys, count*sizeof(NcmContentMetaKey) } },
|
||||||
);
|
);
|
||||||
if (R_SUCCEEDED(rc) && out_entries_total) *out_entries_total = out.out_entries_total;
|
if (R_SUCCEEDED(rc)) {
|
||||||
if (R_SUCCEEDED(rc) && out_entries_written) *out_entries_written = out.out_entries_written;
|
if (out_entries_total) *out_entries_total = out.out_entries_total;
|
||||||
|
if (out_entries_written) *out_entries_written = out.out_entries_written;
|
||||||
|
}
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -412,8 +414,10 @@ Result ncmContentMetaDatabaseListApplication(NcmContentMetaDatabase* db, s32* ou
|
|||||||
.buffer_attrs = { SfBufferAttr_HipcMapAlias | SfBufferAttr_Out },
|
.buffer_attrs = { SfBufferAttr_HipcMapAlias | SfBufferAttr_Out },
|
||||||
.buffers = { { out_keys, count*sizeof(NcmApplicationContentMetaKey) } },
|
.buffers = { { out_keys, count*sizeof(NcmApplicationContentMetaKey) } },
|
||||||
);
|
);
|
||||||
if (R_SUCCEEDED(rc) && out_entries_total) *out_entries_total = out.out_entries_total;
|
if (R_SUCCEEDED(rc)) {
|
||||||
if (R_SUCCEEDED(rc) && out_entries_written) *out_entries_written = out.out_entries_written;
|
if (out_entries_total) *out_entries_total = out.out_entries_total;
|
||||||
|
if (out_entries_written) *out_entries_written = out.out_entries_written;
|
||||||
|
}
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user