mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
flopimg: don't fault on nibble extraction on degenerated tracks
This commit is contained in:
parent
eb2ea5d355
commit
1c177c16a6
@ -2391,7 +2391,8 @@ std::vector<uint8_t> floppy_image_format_t::generate_nibbles_from_bitstream(cons
|
||||
}
|
||||
pos += 8;
|
||||
}
|
||||
pos -= bitstream.size();
|
||||
while(pos >= bitstream.size())
|
||||
pos -= bitstream.size();
|
||||
while(pos < bitstream.size() && bitstream[pos] == 0)
|
||||
pos++;
|
||||
found:
|
||||
|
Loading…
Reference in New Issue
Block a user