From 24ac625179f242b24aab87fd98ac6ea95e0535cd Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 6 May 2017 18:23:26 +0200 Subject: [PATCH] Update libretro-common --- libretro-common/include/libretro.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/libretro-common/include/libretro.h b/libretro-common/include/libretro.h index 8df6170b76..b100865c5a 100644 --- a/libretro-common/include/libretro.h +++ b/libretro-common/include/libretro.h @@ -1976,10 +1976,12 @@ struct retro_variable struct retro_game_info { const char *path; /* Path to game, UTF-8 encoded. - * Usually used as a reference. - * May be NULL if rom was loaded from stdin - * or similar. - * retro_system_info::need_fullpath guaranteed + * Sometimes used as a reference for building other paths. + * May be NULL if game was loaded from stdin or similar, + * but in this case some cores will be unable to load `data`. + * So, it is preferable to fabricate something here instead + * of passing NULL, which will help more cores to succeed. + * retro_system_info::need_fullpath requires * that this path is valid. */ const void *data; /* Memory buffer of loaded game. Will be NULL * if need_fullpath was set. */