diff --git a/src/emu/config.c b/src/emu/config.c index d71ed5c1ef4..4ab9c1339a9 100644 --- a/src/emu/config.c +++ b/src/emu/config.c @@ -19,14 +19,6 @@ -/*************************************************************************** - CONSTANTS -***************************************************************************/ - -#define CONFIG_VERSION 10 - - - /*************************************************************************** TYPE DEFINITIONS ***************************************************************************/ diff --git a/src/emu/config.h b/src/emu/config.h index 61fb9f58862..c34bb1bea6b 100644 --- a/src/emu/config.h +++ b/src/emu/config.h @@ -24,6 +24,8 @@ * *************************************/ +#define CONFIG_VERSION 10 + enum { CONFIG_TYPE_INIT = 0, /* opportunity to initialize things first */ diff --git a/src/emu/info.c b/src/emu/info.c index 44c596eda20..63ae4dc509a 100644 --- a/src/emu/info.c +++ b/src/emu/info.c @@ -14,6 +14,7 @@ #include "info.h" #include "xmlfile.h" #include "hash.h" +#include "config.h" #include @@ -922,6 +923,7 @@ void print_mame_xml(FILE *out, const game_driver *const games[], const char *gam "\n" "\t\n" "\t\n" + "\t\n" #ifdef MESS "\t\n" #else @@ -1054,8 +1056,9 @@ void print_mame_xml(FILE *out, const game_driver *const games[], const char *gam #else "no" #endif - "\">\n", - xml_normalize_string(build_version) + "\" mameconfig=\"%d\">\n", + xml_normalize_string(build_version), + CONFIG_VERSION ); for (drvnum = 0; games[drvnum] != NULL; drvnum++)