(cores/dynamic_dummy) Do not hardcode "No Core"

This commit is contained in:
Jan Holthuis 2015-06-24 16:16:56 +02:00
parent 9de889f735
commit 8d1133b76c
2 changed files with 3 additions and 3 deletions

View File

@ -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. */

View File

@ -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)