Add a missing null terminator to the slot 1 ROM file list. Previously, GSport could crash when "parallel.rom" is missing due to overrunning the end of the file list.

This commit is contained in:
Peter 2013-02-17 17:49:48 +00:00
parent 1ada0cfb01
commit 3f7029ec37

View File

@ -334,7 +334,7 @@ int g_cfg_file_pathfield = 0;
const char *g_gsport_rom_names[] = { "ROM", "ROM", "ROM.01", "ROM.03", 0 };
/* First entry is special--it will be overwritten by g_cfg_rom_path */
const char *g_gsport_c1rom_names[] = { "parallel.rom" };
const char *g_gsport_c1rom_names[] = { "parallel.rom", 0 };
const char *g_gsport_c2rom_names[] = { 0 };
const char *g_gsport_c3rom_names[] = { 0 };
const char *g_gsport_c4rom_names[] = { 0 };