mirror of
https://github.com/david-schmidt/gsport.git
synced 2025-03-06 06:29:22 +00:00
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:
parent
1ada0cfb01
commit
3f7029ec37
@ -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 };
|
||||
|
Loading…
x
Reference in New Issue
Block a user