mirror of
https://github.com/libretro/RetroArch
synced 2025-01-29 18:32:44 +00:00
(cores/dynamic_dummy) Do not hardcode "No Core"
This commit is contained in:
parent
9de889f735
commit
8d1133b76c
@ -50,7 +50,7 @@ void libretro_dummy_retro_get_system_info(
|
||||
struct retro_system_info *info)
|
||||
{
|
||||
memset(info, 0, sizeof(*info));
|
||||
info->library_name = "No Core";
|
||||
info->library_name = "";
|
||||
info->library_version = "";
|
||||
info->need_fullpath = false;
|
||||
info->valid_extensions = ""; /* Nothing. */
|
||||
|
@ -105,9 +105,9 @@ void menu_entries_get_core_title(char *s, size_t len)
|
||||
const char *core_name = global ? global->menu.info.library_name : NULL;
|
||||
const char *core_version = global ? global->menu.info.library_version : NULL;
|
||||
|
||||
if (!core_name)
|
||||
if (!core_name || core_name[0] == '\0')
|
||||
core_name = global->system.info.library_name;
|
||||
if (!core_name)
|
||||
if (!core_name || core_name[0] == '\0')
|
||||
core_name = menu_hash_to_str(MENU_VALUE_NO_CORE);
|
||||
|
||||
if (!core_version)
|
||||
|
Loading…
x
Reference in New Issue
Block a user