diff --git a/src/emu/info.c b/src/emu/info.c
index 2aa9d7cc107..6d72d3339d4 100644
--- a/src/emu/info.c
+++ b/src/emu/info.c
@@ -979,9 +979,10 @@ static void print_game_software_list(FILE *out, const game_driver *game, const m
for ( int i = 0; i < DEVINFO_STR_SWLIST_MAX - DEVINFO_STR_SWLIST_0; i++ )
{
- if ( swlist->list_name[i] && (swlist->list_type == SOFTWARE_LIST_ORIGINAL_SYSTEM))
+ if ( swlist->list_name[i] )
{
- fprintf(out, "\t\t\n", swlist->list_name[i] );
+ fprintf(out, "\t\tlist_name[i] );
+ fprintf(out, "status=\"%s\" />\n", (swlist->list_type == SOFTWARE_LIST_ORIGINAL_SYSTEM) ? "original" : "compatible" );
}
}
}
@@ -1040,7 +1041,7 @@ static void print_game_info(FILE *out, const game_driver *game)
if (game->description != NULL)
fprintf(out, "\t\t%s\n", xml_normalize_string(game->description));
- /* print the year only if is a number */
+ /* print the year only if is a number or another allowed character (? or +) */
if (game->year != NULL && strspn(game->year, "0123456789?+") == strlen(game->year))
fprintf(out, "\t\t%s\n", xml_normalize_string(game->year));
@@ -1212,6 +1213,7 @@ void print_mame_xml(FILE *out, const game_driver *const games[], const char *gam
"\t\t\t\t\n"
"\t\t\n"
"\t\t\t\n"
+ "\t\t\t\n"
#ifdef MESS
"\t\t\n"
"\t\t\t\n"