Files
AnyPS5/core/libs/prx/libSceIcu/Locale.cpp
T
Daniel HornandClaude Opus 5.5 c0bf834527 feat(libSceIcu): implement locale_getKeywordsStart
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]>
2026-10-31 17:01:48 +00:00

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, '@');
}