This commit is contained in:
HookedBehemoth 2020-04-24 18:03:32 +02:00
parent 4244c6e523
commit cb0a487d3d
2 changed files with 6 additions and 6 deletions

View File

@ -50,7 +50,7 @@ Result capsscOpenRawScreenShotReadStream(u64 *out_size, u64 *out_width, u64 *out
* @brief Discards a stream opened by \ref capsscOpenRawScreenShotReadStream. * @brief Discards a stream opened by \ref capsscOpenRawScreenShotReadStream.
* @note Only available on [3.0.0+]. Requires debug mode. * @note Only available on [3.0.0+]. Requires debug mode.
*/ */
Result capsscCloseRawScreenShotReadStream(); Result capsscCloseRawScreenShotReadStream(void);
/** /**
* @brief Reads from a stream opened by \ref capsscOpenRawScreenShotReadStream. * @brief Reads from a stream opened by \ref capsscOpenRawScreenShotReadStream.

View File

@ -48,9 +48,9 @@ Result capsscOpenRawScreenShotReadStream(u64 *out_size, u64 *out_width, u64 *out
return MAKERESULT(Module_Libnx, LibnxError_IncompatSysVer); return MAKERESULT(Module_Libnx, LibnxError_IncompatSysVer);
const struct { const struct {
ViLayerStack layer_stack; s32 layer_stack;
u64 timeout; u32 pad;
} in = {layer_stack, timeout}; } in = {layer_stack, 0, timeout};
struct { struct {
u64 size; u64 size;
@ -68,7 +68,7 @@ Result capsscOpenRawScreenShotReadStream(u64 *out_size, u64 *out_width, u64 *out
return rc; return rc;
} }
Result capsscCloseRawScreenShotReadStream() { Result capsscCloseRawScreenShotReadStream(void) {
if (hosversionBefore(3,0,0)) if (hosversionBefore(3,0,0))
return MAKERESULT(Module_Libnx, LibnxError_IncompatSysVer); return MAKERESULT(Module_Libnx, LibnxError_IncompatSysVer);