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