NeoGeo: fix hardcoded path, uses 16bit transfer for M-ROM.

This commit is contained in:
sorgelig
2019-07-25 01:46:44 +08:00
parent d8c338046a
commit b4c38439f1

View File

@@ -43,7 +43,8 @@ int neogeo_file_tx(const char* romset, const char* name, unsigned char neo_file_
if (!bytes2send) return 0;
strcpy(name_buf, "/media/fat/NeoGeo/");
strcpy(name_buf, getRootDir());
strcpy(name_buf, "/NeoGeo/");
if (strlen(romset)) {
strcat(name_buf, romset);
strcat(name_buf, "/");
@@ -227,8 +228,6 @@ static int xml_load_files(XMLEvent evt, const XMLNode* node, SXML_CHAR* text, co
file_type = NEO_FILE_FIX;
else if (file_type == 'C')
file_type = NEO_FILE_SPR;
else if (file_type == 'M')
file_type = NEO_FILE_8BIT;
else
file_type = NEO_FILE_RAW;
}