mirror of
https://github.com/joel16/VitaShell.git
synced 2024-11-27 05:40:21 +00:00
Add battery level percents to sys_info dialog
This commit is contained in:
parent
112d5a7c5e
commit
dc1fb2347c
2
main.c
2
main.c
@ -1222,7 +1222,7 @@ void fileBrowserMenuCtrl() {
|
||||
getSizeString(max_size_string, max_size);
|
||||
|
||||
// System information dialog
|
||||
initMessageDialog(SCE_MSG_DIALOG_BUTTON_TYPE_OK, language_container[SYS_INFO], sw_ver_param.version_string, sceKernelGetModelForCDialog(), mac_string, ip, free_size_string, max_size_string);
|
||||
initMessageDialog(SCE_MSG_DIALOG_BUTTON_TYPE_OK, language_container[SYS_INFO], sw_ver_param.version_string, sceKernelGetModelForCDialog(), mac_string, ip, free_size_string, max_size_string, scePowerGetBatteryLifePercent());
|
||||
dialog_step = DIALOG_STEP_SYSTEM;
|
||||
}
|
||||
|
||||
|
@ -77,5 +77,5 @@ SAVE_MODIFICATIONS = "Do you want to save your modifications?"
|
||||
NO_SPACE_ERROR = "There is not enough free space on the memory\card.\At least %s more space is needed."
|
||||
WIFI_ERROR = "You must use Wi-Fi to do this."
|
||||
FTP_SERVER = "FTP server is now running at\ftp://%s:%i\\Press 'OK' to keep it in background.\Press 'Cancel' to disconnect."
|
||||
SYS_INFO = "System software: %s\Model: 0x%08X\MAC address: %s\IP address: %s\Memory card: %s/%s"
|
||||
SYS_INFO = "System software: %s\Model: 0x%08X\MAC address: %s\IP address: %s\Memory card: %s/%s\Battery level: %d%%"
|
||||
UPDATE_QUESTION = "VitaShell %s is now available.\\Do you want to update the application?"
|
Loading…
Reference in New Issue
Block a user