mirror of
https://github.com/holub/mame
synced 2025-04-23 08:49:55 +03:00
don't just ignore first char, but take full line (nw)
This commit is contained in:
parent
d4928b01ef
commit
002dc6f409
@ -178,6 +178,13 @@ int parse_file(const char *srcfile)
|
||||
if (c == '@')
|
||||
{
|
||||
// Used for makemak tool
|
||||
char drivname[256];
|
||||
drivname[0] = 0;
|
||||
for (int pos = 0; srcptr < endptr && pos < ARRAY_LENGTH(drivname) - 1 && !isspace(*srcptr); pos++)
|
||||
{
|
||||
drivname[pos] = *srcptr++;
|
||||
drivname[pos+1] = 0;
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user