(Core) Don't create 'can't load XML memory map' if HAVE_XML

is not defined for the port
This commit is contained in:
TwinAphex51224 2012-02-16 03:49:13 +01:00
parent 441cd2b82a
commit 2760b5b0c2

4
file.c
View File

@ -550,6 +550,7 @@ void save_ram_file(const char *path, int type)
}
}
#ifdef HAVE_XML
static char *load_xml_map(const char *path)
{
char *xml_buf = NULL;
@ -563,6 +564,9 @@ static char *load_xml_map(const char *path)
return xml_buf;
}
#else
#define load_xml_map(xml_name) (NULL)
#endif
static bool load_sgb_rom(void)
{