mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-03 18:12:14 +02:00
fix PR
This commit is contained in:
parent
4244c6e523
commit
cb0a487d3d
@ -50,7 +50,7 @@ Result capsscOpenRawScreenShotReadStream(u64 *out_size, u64 *out_width, u64 *out
|
||||
* @brief Discards a stream opened by \ref capsscOpenRawScreenShotReadStream.
|
||||
* @note Only available on [3.0.0+]. Requires debug mode.
|
||||
*/
|
||||
Result capsscCloseRawScreenShotReadStream();
|
||||
Result capsscCloseRawScreenShotReadStream(void);
|
||||
|
||||
/**
|
||||
* @brief Reads from a stream opened by \ref capsscOpenRawScreenShotReadStream.
|
||||
|
@ -48,9 +48,9 @@ Result capsscOpenRawScreenShotReadStream(u64 *out_size, u64 *out_width, u64 *out
|
||||
return MAKERESULT(Module_Libnx, LibnxError_IncompatSysVer);
|
||||
|
||||
const struct {
|
||||
ViLayerStack layer_stack;
|
||||
u64 timeout;
|
||||
} in = {layer_stack, timeout};
|
||||
s32 layer_stack;
|
||||
u32 pad;
|
||||
} in = {layer_stack, 0, timeout};
|
||||
|
||||
struct {
|
||||
u64 size;
|
||||
@ -68,7 +68,7 @@ Result capsscOpenRawScreenShotReadStream(u64 *out_size, u64 *out_width, u64 *out
|
||||
return rc;
|
||||
}
|
||||
|
||||
Result capsscCloseRawScreenShotReadStream() {
|
||||
Result capsscCloseRawScreenShotReadStream(void) {
|
||||
if (hosversionBefore(3,0,0))
|
||||
return MAKERESULT(Module_Libnx, LibnxError_IncompatSysVer);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user