mirror of
https://github.com/holub/mame
synced 2025-10-05 08:41:31 +03:00
Merge pull request #4762 from tomctomc/imgtool_filtbas
fix for (imgtool) filtbas when strings left unterminated in basic lines
This commit is contained in:
commit
d78cdc3ccc
@ -116,6 +116,8 @@ static imgtoolerr_t basic_readfile(const basictokens *tokens,
|
||||
destf.printf("%u ", (unsigned) line_number);
|
||||
shift = 0x00;
|
||||
|
||||
in_string = false; // in case the last line didn't terminate a string
|
||||
|
||||
while((mem_stream->read(&b, 1) > 0) && (b != 0x00))
|
||||
{
|
||||
if (b == 0x22)
|
||||
|
Loading…
Reference in New Issue
Block a user