mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-07 13:39:55 +00:00
Return the first '@' of a locale ID, or null when it has none, as ICU 68.2 does. The firmware 3.20 module is built from ICU 68: the inventory NID BufsAiaX0+s is the hash of the icu_68 BreakIterator symbol. ICU 77 moved this function to std::string_view, so the const char* signature is the one that applies. Record that later firmware is unverified. Co-Authored-By: Claude Opus 5.5 <[email protected]>
9 lines
274 B
C++
9 lines
274 B
C++
#include "prx/libSceIcu/Identified.hpp"
|
|
#include "prx/libc/include/General.hpp"
|
|
#include <cstring>
|
|
|
|
extern "C" const char* APS5_VABI locale_getKeywordsStart_nid_postfix(const char* localeID) {
|
|
if (!localeID) APS5_INVALID_ARG_EX;
|
|
return std::strchr(localeID, '@');
|
|
}
|