mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 12:32:40 +02:00
Added appletRequestFlushGamePlayingMovieForDebug.
This commit is contained in:
parent
c7cab0351c
commit
7c18df6d4c
@ -1284,6 +1284,12 @@ Result appletSetGamePlayRecordingState(bool state);
|
|||||||
/// Only usable when running under a title which supports video recording. Using this is only needed when the host title control.nacp has VideoCaptureMode set to Enabled, with Automatic appletInitializeGamePlayRecording is not needed.
|
/// Only usable when running under a title which supports video recording. Using this is only needed when the host title control.nacp has VideoCaptureMode set to Enabled, with Automatic appletInitializeGamePlayRecording is not needed.
|
||||||
Result appletInitializeGamePlayRecording(void);
|
Result appletInitializeGamePlayRecording(void);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Requests to save the video recording, as if the Capture-button was held.
|
||||||
|
* @note Only available with AppletType_*Application on [4.0.0+].
|
||||||
|
*/
|
||||||
|
Result appletRequestFlushGamePlayingMovieForDebug(void);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Requests a system shutdown. This will enter an infinite-sleep-loop on success.
|
* @brief Requests a system shutdown. This will enter an infinite-sleep-loop on success.
|
||||||
* @note Only available with AppletType_*Application on 3.0.0+.
|
* @note Only available with AppletType_*Application on 3.0.0+.
|
||||||
|
@ -4022,6 +4022,15 @@ Result appletInitializeGamePlayRecording(void) {
|
|||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Result appletRequestFlushGamePlayingMovieForDebug(void) {
|
||||||
|
if (!serviceIsActive(&g_appletSrv) || !_appletIsApplication())
|
||||||
|
return MAKERESULT(Module_Libnx, LibnxError_NotInitialized);
|
||||||
|
if (hosversionBefore(4,0,0))
|
||||||
|
return MAKERESULT(Module_Libnx, LibnxError_IncompatSysVer);
|
||||||
|
|
||||||
|
return _appletCmdNoIO(&g_appletIFunctions, 68);
|
||||||
|
}
|
||||||
|
|
||||||
Result appletRequestToShutdown(void) {
|
Result appletRequestToShutdown(void) {
|
||||||
Result rc=0;
|
Result rc=0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user