From 3fa3a6444d16f0f9496fb93de05d0012b1406c95 Mon Sep 17 00:00:00 2001 From: GrayJack Date: Mon, 31 Aug 2026 23:20:54 -0300 Subject: [PATCH] feat(umd): Add `sceUmdSetDriveStatus` --- src/umd/pspumd.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/umd/pspumd.h b/src/umd/pspumd.h index c4ff4704f1..cb62b3d439 100644 --- a/src/umd/pspumd.h +++ b/src/umd/pspumd.h @@ -162,7 +162,14 @@ int sceUmdCancelWaitDriveStat(void); */ int sceUmdGetDriveStat(void); -/** +/** + * Sets the current state of the UMD drive. + * + * @param status The UMD state to set. One or more of ::pspUmdState. + */ +void sceUmdSetDriveStatus(int status); + +/** * Get the error code associated with a failed event * * @return < 0 on error, the error code on success