mirror of
https://github.com/holub/mame
synced 2025-06-06 12:53:46 +03:00
Fix compile?
This commit is contained in:
parent
00d745ca77
commit
801f397cc4
@ -1125,7 +1125,7 @@ void info_xml_creator::output_ramoptions()
|
|||||||
if (ram->extra_options != NULL)
|
if (ram->extra_options != NULL)
|
||||||
{
|
{
|
||||||
astring options(ram->extra_options);
|
astring options(ram->extra_options);
|
||||||
for (int start, end = options.chr(0, ','); ; start = end + 1, end = options.chr(start, ','))
|
for (int start = 0, end = options.chr(0, ','); ; start = end + 1, end = options.chr(start, ','))
|
||||||
{
|
{
|
||||||
astring option;
|
astring option;
|
||||||
option.cpysubstr(options, start, (end == -1) ? -1 : end - start);
|
option.cpysubstr(options, start, (end == -1) ? -1 : end - start);
|
||||||
|
Loading…
Reference in New Issue
Block a user