mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
(Core) Don't create 'can't load XML memory map' if HAVE_XML
is not defined for the port
This commit is contained in:
parent
441cd2b82a
commit
2760b5b0c2
4
file.c
4
file.c
@ -550,6 +550,7 @@ void save_ram_file(const char *path, int type)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef HAVE_XML
|
||||||
static char *load_xml_map(const char *path)
|
static char *load_xml_map(const char *path)
|
||||||
{
|
{
|
||||||
char *xml_buf = NULL;
|
char *xml_buf = NULL;
|
||||||
@ -563,6 +564,9 @@ static char *load_xml_map(const char *path)
|
|||||||
|
|
||||||
return xml_buf;
|
return xml_buf;
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
#define load_xml_map(xml_name) (NULL)
|
||||||
|
#endif
|
||||||
|
|
||||||
static bool load_sgb_rom(void)
|
static bool load_sgb_rom(void)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user