From 1070560e19860f3319ac62f58a45857e4bcaef2e Mon Sep 17 00:00:00 2001 From: Alan Steremberg Date: Wed, 11 Dec 2019 09:03:58 -0800 Subject: [PATCH] Arcade Add search for development rbf without date * round trip xml launch * roms load * removed debug * added binary data and changed rom format * changed hex format * fixed bug * added structure and start/length * removed base64 support * removed base64 support * fixed parsing bugs * fixed hex parse bug * fixed parser * fixing paths * fixed rbf parser * fixed initialization bug * fixed extension removal for when there are multiple extension options * fixed core path and cleaned up filelength * added md5 checks to arcade roms * fixed rbf search * added error support * Simplify error checking code * fixed arcade error message pop up * fixed bug in part zip initialization * removed dtdt * don't load second rom0 if first works * fixed directory problem * added more comments * added / to zip path * fixed / bug, truncate mame zip error message * fixed scrolling RBF * fixed scrolling name and error message * added code to remove _date in scrolling text * remove redundant / * added another check --- support/arcade/romutils.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/support/arcade/romutils.cpp b/support/arcade/romutils.cpp index ea5d558..e68f853 100644 --- a/support/arcade/romutils.cpp +++ b/support/arcade/romutils.cpp @@ -459,6 +459,12 @@ int arcade_scan_xml_for_rbf(const char *xml,char *rbfname) strcpy(rbfname,entry->d_name); return 0; } + snprintf(newstring,kBigTextSize,"%s.",rbfname_fragment); + if (!strncasecmp(newstring,entry->d_name,strlen(newstring))) { + closedir(dir); + strcpy(rbfname,entry->d_name); + return 0; + } } }