helpwnd: rebrand

No longer wood :)

- Add version text of loaders where possible
- Remove font size in help window, not really that helpful
This commit is contained in:
lifehackerhansol 2024-10-14 16:32:52 -07:00
parent 5eac5c72b8
commit 5020802b1a
No known key found for this signature in database
GPG Key ID: 80FB184AFC0B3B0E
2 changed files with 17 additions and 2 deletions

View File

@ -47,8 +47,8 @@ cHelpWnd::cHelpWnd(s32 x, s32 y, u32 w, u32 h, cWindow* parent, const std::strin
// u8 nandDriverVer = getNandDriverVer(); // u8 nandDriverVer = getNandDriverVer();
_helpText += '\n'; _helpText += '\n';
_helpText += formatString("wood akmenu %s.%s ", AKMENU_VERSION_MAIN, AKMENU_VERSION_SUB); _helpText += formatString("LHS akmenu %s.%s ", AKMENU_VERSION_MAIN, AKMENU_VERSION_SUB);
_helpText += formatString("\nfont: %dk", font().FontRAM() / 1024); _helpText += formatString("\n%s %s ", AKMENU_LOADER_NAME, AKMENU_LOADER_VERSION);
} }
cHelpWnd::~cHelpWnd() {} cHelpWnd::~cHelpWnd() {}

View File

@ -9,3 +9,18 @@
#define AKMENU_VERSION_MAIN "1" #define AKMENU_VERSION_MAIN "1"
#define AKMENU_VERSION_SUB "25" #define AKMENU_VERSION_SUB "25"
#ifndef __KERNEL_LAUNCHER_SUPPORT__
#define AKMENU_LOADER_NAME "nds-bootstrap"
#define AKMENU_LOADER_VERSION ""
#else // __KERNEL_LAUNCHER_SUPPORT__
// Loader versions - may not be accurate
#if defined(__AKLOADER_AK2__)
#define AKMENU_LOADER_NAME "BL2CK"
#define AKMENU_LOADER_VERSION "1.31.0"
#else // fallback for acekard
#define AKMENU_LOADER_NAME "wood"
#define AKMENU_LOADER_VERSION "1.62"
#endif // __AKLOADER_AK2__
#endif // __KERNEL_LAUNCHER_SUPPORT__