comparison blastem.c @ 2286:5d3411f52d00

Fix ui.reload for locked-on ROMs
author Michael Pavone <pavone@retrodev.com>
date Fri, 13 Jan 2023 23:42:46 -0800
parents bc68560b4a04
children 92449b47cce8
comparison
equal deleted inserted replaced
2285:dec3287c9394 2286:5d3411f52d00
425 cart.dir, PATH_SEP, cart.name, ".", cart.extension 425 cart.dir, PATH_SEP, cart.name, ".", cart.extension
426 }; 426 };
427 char const **start = parts[0] ? parts : parts + 2; 427 char const **start = parts[0] ? parts : parts + 2;
428 int num_parts = parts[0] ? 5 : 3; 428 int num_parts = parts[0] ? 5 : 3;
429 if (!parts[4]) { 429 if (!parts[4]) {
430 num_parts--; 430 num_parts -= 2;
431 } 431 }
432 current_system->next_rom = alloc_concat_m(num_parts, start); 432 current_system->next_rom = alloc_concat_m(num_parts, start);
433 system_request_exit(current_system, 1); 433 system_request_exit(current_system, 1);
434 } 434 }
435 435