Files
RetroArch/samples/tasks/database
libretroadmin 4da610d390 samples/database: stub msg_hash_us_index_init
The msg_hash string-table refactor made msg_hash_set_uint() call
msg_hash_us_index_init() (from intl/msg_hash_us.c) under MSG_HASH_HAVE_STRTAB,
which is enabled for every non-MSVC compiler. The database sample links
msg_hash.o but deliberately stubs the intl layer (msg_hash_to_str_us,
msg_hash_get_help_us_enum) rather than pulling in the ~1 MB of string tables,
so the new call left an undefined reference at link time.

Add a matching no-op stub for msg_hash_us_index_init. With msg_hash_to_str_us()
already stubbed to return "", the string-table index is never consulted, so the
empty body is correct and the sample still avoids intl/msg_hash_us.c.
2026-07-02 13:22:52 +02:00
..