From acbb36bf44b6a7e9028885260a2b40529d045f2d Mon Sep 17 00:00:00 2001 From: trngaje Date: Sat, 9 Sep 2023 13:27:53 +0900 Subject: [PATCH] ignore the time of advmame.xml if it exists --- advance/menu/emulator.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/advance/menu/emulator.cc b/advance/menu/emulator.cc index cb7cf555e..980e75d7e 100644 --- a/advance/menu/emulator.cc +++ b/advance/menu/emulator.cc @@ -658,7 +658,7 @@ bool mame_info::update_xml() err_xml = stat(cpath_export(xml_file), &st_xml); // if it's updated and not empty - if (err_xml == 0 && st_xml.st_size != 0 && st_xml.st_mtime >= st_mame.st_mtime) + if (err_xml == 0 && st_xml.st_size != 0/* && st_xml.st_mtime >= st_mame.st_mtime*/) return true; // if it's readonly and not empty