Strip legacy save/settings systems for a unified savemanager rewrite; split uielement list out of uielement.c

Removes the per-platform save/savestream/autosave implementations, the settings UI frames, and the autosave overlay, replacing them with a savemanager.c/h + savefile.h/savedevice.h scaffold to build the new save system on top of. Also separates the concrete UI_ELEMENTS registration into uielementlist.h/.c so uielement.c only holds the generic per-element lifecycle logic.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-14 12:56:02 -05:00
parent 6c8e4d5cbd
commit 33f50a2c69
91 changed files with 402 additions and 5074 deletions
+2 -1
View File
@@ -9,4 +9,5 @@
#include "system/systempsp.h"
#define systemInitPlatform systemInitPSP
#define systemGetActiveDialogTypePlatform systemGetActiveDialogTypePSP
#define systemGetActiveDialogTypePlatform systemGetActiveDialogTypePSP
#define systemGetLocalePlatform systemGetLocalePSP
+8
View File
@@ -61,4 +61,12 @@ int_t systemPSPGetCrossButtonSetting() {
return (
ret == 1 ? PSP_UTILITY_ACCEPT_CROSS : PSP_UTILITY_ACCEPT_CIRCLE
);
}
const localeinfo_t * systemGetLocalePSP(void) {
switch(systemPSPGetLanguage()) {
case PSP_SYSTEMPARAM_LANGUAGE_JAPANESE: return &LOCALE_INFO_JP_JP;
case PSP_SYSTEMPARAM_LANGUAGE_SPANISH: return &LOCALE_INFO_ES_MX;
default: return &LOCALE_DEFAULT;
}
}
+9 -1
View File
@@ -37,4 +37,12 @@ int_t systemPSPGetLanguage();
*
* @return PSP_UTILITY_ACCEPT_CROSS or PSP_UTILITY_ACCEPT_CIRCLE.
*/
int_t systemPSPGetCrossButtonSetting();
int_t systemPSPGetCrossButtonSetting();
/**
* Returns the locale matching the system's configured language, falling
* back to LOCALE_DEFAULT if the system language has no matching locale.
*
* @return The current locale.
*/
const localeinfo_t * systemGetLocalePSP(void);