mirror of
https://github.com/switchbrew/libnx.git
synced 2025-08-06 08:19:22 +02:00
Added appletPushToAppletBoundChannel and appletTryPopFromAppletBoundChannel.
This commit is contained in:
parent
8fc57a4795
commit
d88f67fe30
@ -2130,6 +2130,21 @@ Result appletReadThemeStorage(void* buffer, size_t size, u64 offset, u64 *transf
|
|||||||
*/
|
*/
|
||||||
Result appletWriteThemeStorage(const void* buffer, size_t size, u64 offset);
|
Result appletWriteThemeStorage(const void* buffer, size_t size, u64 offset);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief PushToAppletBoundChannel
|
||||||
|
* @note Only available with AppletType_SystemApplet, AppletType_LibraryApplet, or AppletType_OverlayApplet, on [9.0.0+].
|
||||||
|
* @note This uses \ref appletStorageClose automatically.
|
||||||
|
* @param[in] s Storage object.
|
||||||
|
*/
|
||||||
|
Result appletPushToAppletBoundChannel(AppletStorage *s);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief TryPopFromAppletBoundChannel
|
||||||
|
* @note Only available with AppletType_SystemApplet, AppletType_LibraryApplet, or AppletType_OverlayApplet, on [9.0.0+].
|
||||||
|
* @param[out] s Storage object.
|
||||||
|
*/
|
||||||
|
Result appletTryPopFromAppletBoundChannel(AppletStorage *s);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Gets the DisplayLogicalResolution.
|
* @brief Gets the DisplayLogicalResolution.
|
||||||
* @note Only available with AppletType_SystemApplet, AppletType_LibraryApplet, or AppletType_OverlayApplet, on [8.0.0+].
|
* @note Only available with AppletType_SystemApplet, AppletType_LibraryApplet, or AppletType_OverlayApplet, on [8.0.0+].
|
||||||
|
@ -2599,6 +2599,9 @@ Result appletWriteThemeStorage(const void* buffer, size_t size, u64 offset) {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
IPC_MAKE_CMD_IMPL_HOSVER(Result appletPushToAppletBoundChannel(AppletStorage *s), &g_appletIAppletCommonFunctions, 20, _appletCmdInStorage, (9,0,0), s)
|
||||||
|
IPC_MAKE_CMD_IMPL_HOSVER(Result appletTryPopFromAppletBoundChannel(AppletStorage *s), &g_appletIAppletCommonFunctions, 21, _appletCmdNoInOutStorage, (9,0,0), s)
|
||||||
|
|
||||||
IPC_MAKE_CMD_IMPL_HOSVER(Result appletGetDisplayLogicalResolution(s32 *width, s32 *height), &g_appletIAppletCommonFunctions, 40, _appletGetResolution, (8,0,0), width, height)
|
IPC_MAKE_CMD_IMPL_HOSVER(Result appletGetDisplayLogicalResolution(s32 *width, s32 *height), &g_appletIAppletCommonFunctions, 40, _appletGetResolution, (8,0,0), width, height)
|
||||||
|
|
||||||
Result appletSetDisplayMagnification(float x, float y, float width, float height) {
|
Result appletSetDisplayMagnification(float x, float y, float width, float height) {
|
||||||
|
Loading…
Reference in New Issue
Block a user