mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 13:20:30 +00:00
More verbose logging of subsystems.
This commit is contained in:
parent
7d9732ba20
commit
72ad4d937e
14
dynamic.c
14
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));
|
||||
|
@ -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().
|
||||
|
Loading…
x
Reference in New Issue
Block a user