mirror of
https://github.com/holub/mame
synced 2025-06-03 03:16:30 +03:00
duh (nw)
This commit is contained in:
parent
4d76bbb63e
commit
2aa1e82537
@ -1192,12 +1192,10 @@ void floppy_image_format_t::mfm_w(UINT32 *buffer, int &offset, int n, UINT32 val
|
||||
|
||||
void floppy_image_format_t::fm_w(UINT32 *buffer, int &offset, int n, UINT32 val, UINT32 size)
|
||||
{
|
||||
// int prec = offset ? bit_r(buffer, offset-1) : 0;
|
||||
for(int i=n-1; i>=0; i--) {
|
||||
int bit = (val >> i) & 1;
|
||||
bit_w(buffer, offset++, true);
|
||||
bit_w(buffer, offset++, bit, size);
|
||||
// prec = bit;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user