From 8ec0ad920965098889f26ad8e5869350336e5611 Mon Sep 17 00:00:00 2001 From: JoseAaronLopezGarcia Date: Sun, 22 Dec 2024 18:19:06 +0100 Subject: [PATCH] move file --- .../xmbctrl => common}/include/vshctrl.h | 90 +++++++++---------- 1 file changed, 45 insertions(+), 45 deletions(-) rename {extras/modules/xmbctrl => common}/include/vshctrl.h (97%) diff --git a/extras/modules/xmbctrl/include/vshctrl.h b/common/include/vshctrl.h similarity index 97% rename from extras/modules/xmbctrl/include/vshctrl.h rename to common/include/vshctrl.h index 6a5a3d980..c41081e32 100644 --- a/extras/modules/xmbctrl/include/vshctrl.h +++ b/common/include/vshctrl.h @@ -1,45 +1,45 @@ -#ifndef __VSHCTRL_H__ -#define __VSHCTRL_H__ - -/** - * This api is for vsh menu. (flash0:/vsh/module/satelite.prx) - * - * The vsh menu is an user mode module, and because of this, these functions are - * only available to user mode. -*/ - -/** - * Registers the vsh menu. - * When HOME is pressed, vshctrl will load the satelite module. - * In module_start, call this function to register the vsh menu. - * - * @param ctrl - The function that will be executed each time - * the system calls ReadBufferPositive. Despite satelite.prx being - * an user module, this function will be executed in kernel mode. - * - * @returns 0 on success, < 0 on error. -*/ -int vctrlVSHRegisterVshMenu(int (* ctrl)(SceCtrlData *, int)); - -/** - * Exits the vsh menu. - * vshmenu module must call this module after destroying vsh menu display and - * freeing resources. - * - * vshmenu module doesn't need to stop-unload itself, as that is vshctrl job. - * - * @param conf - Indicates the new config. vshctrl will update the internal - * vshctrl and systemctrl variables with the new configuration given by this param. - * However is job of satelite.prx to save those settings to the configuration file. - * using sctrlSESetConfig. - * - * @param videoiso - Indicates the videoiso to mount, or NULL if none. - * @param disctype - The disctype of the videoiso (0x20=video, 0x40=audio) - * - * @returns 0 on success, < 0 on error. -*/ -int vctrlVSHExitVSHMenu(SEConfig *conf, char *videoiso, int disctype); - - -#endif - +#ifndef __VSHCTRL_H__ +#define __VSHCTRL_H__ + +/** + * This api is for vsh menu. (flash0:/vsh/module/satelite.prx) + * + * The vsh menu is an user mode module, and because of this, these functions are + * only available to user mode. +*/ + +/** + * Registers the vsh menu. + * When HOME is pressed, vshctrl will load the satelite module. + * In module_start, call this function to register the vsh menu. + * + * @param ctrl - The function that will be executed each time + * the system calls ReadBufferPositive. Despite satelite.prx being + * an user module, this function will be executed in kernel mode. + * + * @returns 0 on success, < 0 on error. +*/ +int vctrlVSHRegisterVshMenu(int (* ctrl)(SceCtrlData *, int)); + +/** + * Exits the vsh menu. + * vshmenu module must call this module after destroying vsh menu display and + * freeing resources. + * + * vshmenu module doesn't need to stop-unload itself, as that is vshctrl job. + * + * @param conf - Indicates the new config. vshctrl will update the internal + * vshctrl and systemctrl variables with the new configuration given by this param. + * However is job of satelite.prx to save those settings to the configuration file. + * using sctrlSESetConfig. + * + * @param videoiso - Indicates the videoiso to mount, or NULL if none. + * @param disctype - The disctype of the videoiso (0x20=video, 0x40=audio) + * + * @returns 0 on success, < 0 on error. +*/ +int vctrlVSHExitVSHMenu(SEConfig *conf, char *videoiso, int disctype); + + +#endif +