diff --git a/dynamic.c b/dynamic.c index 636ed1d3bd..458eee3fad 100644 --- a/dynamic.c +++ b/dynamic.c @@ -933,10 +933,20 @@ bool rarch_environment_cb(unsigned cmd, void *data) case RETRO_ENVIRONMENT_SET_SPECIAL_GAME_TYPES: { RARCH_LOG("Environ SET_SPECIAL_GAME_TYPES.\n"); - unsigned i; + unsigned i, j; const struct retro_game_special_info *info = (const struct retro_game_special_info*)data; for (i = 0; info[i].ident; i++) - RARCH_LOG("Special game type: %s (ident: %s)\n", info[i].desc, info[i].ident); + { + RARCH_LOG("Special game type: %s\n", info[i].desc); + RARCH_LOG(" Ident: %s\n", info[i].ident); + RARCH_LOG(" ID: %u\n", info[i].id); + RARCH_LOG(" ROMs:\n"); + for (j = 0; j < info[i].num_roms; j++) + { + RARCH_LOG(" %s (%s)\n", + info[i].roms[j].desc, info[i].roms[j].required ? "required" : "optional"); + } + } free(g_extern.system.special); g_extern.system.special = (struct retro_game_special_info*)calloc(i, sizeof(*g_extern.system.special)); diff --git a/libretro.h b/libretro.h index 82cc825772..eddbda81ac 100755 --- a/libretro.h +++ b/libretro.h @@ -622,7 +622,6 @@ struct retro_game_special_memory_info struct retro_game_special_rom_info { const char *desc; // Describes what the ROM is (SGB bios, GB rom, etc). - const char *ident; // A computer friendly short string identifier for the ROM type. Must be [a-z]. const char *valid_extensions; // Same definition as retro_get_system_info(). bool need_fullpath; // Same definition as retro_get_system_info(). bool block_extract; // Same definition as retro_get_system_info().