40 lines
965 B
C
40 lines
965 B
C
/**
|
|
* Copyright (c) 2026 Dominic Masters
|
|
*
|
|
* This software is released under the MIT License.
|
|
* https://opensource.org/licenses/MIT
|
|
*/
|
|
|
|
#pragma once
|
|
#include "system/system.h"
|
|
#include <psputility.h>
|
|
|
|
/**
|
|
* Initializes the PSP system module.
|
|
*
|
|
* @return Error code indicating success or failure.
|
|
*/
|
|
errorret_t systemInitPSP(void);
|
|
|
|
/**
|
|
* Returns which PSP system dialog is currently open (if any).
|
|
*
|
|
* @return Currently open system dialog type.
|
|
*/
|
|
systemdialogtype_t systemGetActiveDialogTypePSP();
|
|
|
|
/**
|
|
* Returns the PSP_SYSTEMPARAM language for the current system.
|
|
*
|
|
* @return PSP_SYSTEMPARAM language value.
|
|
*/
|
|
int_t systemPSPGetLanguage();
|
|
|
|
/**
|
|
* Returns the user's setting for the PSP "Cross Button" configuration, which
|
|
* determines whether the "Cross" or "Circle" button is used for "Accept"
|
|
* actions in system dialogs.
|
|
*
|
|
* @return PSP_UTILITY_ACCEPT_CROSS or PSP_UTILITY_ACCEPT_CIRCLE.
|
|
*/
|
|
int_t systemPSPGetCrossButtonSetting(); |