diff options
| author | 2011-11-13 20:35:34 +0000 | |
|---|---|---|
| committer | 2011-11-13 20:35:34 +0000 | |
| commit | 18b06709c86a698d56c755e478f443a3381af61f (patch) | |
| tree | ff6ac7921b8210e8c72660210d00048624f50aed /src/emu/imagedev | |
| parent | 16e7be92ba2a4a3b78f4cb07878be6d5aa962be1 (diff) | |
Clean-ups and version bumpmame0144
Diffstat (limited to 'src/emu/imagedev')
| -rw-r--r-- | src/emu/imagedev/floppy.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/imagedev/floppy.c b/src/emu/imagedev/floppy.c index 74dad81ec6c..43f0ba7353a 100644 --- a/src/emu/imagedev/floppy.c +++ b/src/emu/imagedev/floppy.c @@ -431,7 +431,7 @@ void floppy_image_device::write_zone(UINT32 *buf, int &cells, int &index, UINT32 while(spos < epos) { while(index != cells-1 && (buf[index+1] & floppy_image::TIME_MASK) <= spos) index++; - + UINT32 ref_start = buf[index] & floppy_image::TIME_MASK; UINT32 ref_end = index == cells-1 ? 200000000 : buf[index+1] & floppy_image::TIME_MASK; UINT32 ref_mg = buf[index] & floppy_image::MG_MASK; @@ -479,7 +479,7 @@ void floppy_image_device::write_zone(UINT32 *buf, int &cells, int &index, UINT32 index++; } } - spos = ref_end; + spos = ref_end; } else { // Overlap at the start only @@ -521,7 +521,7 @@ void floppy_image_device::write_zone(UINT32 *buf, int &cells, int &index, UINT32 spos = epos; } } - + } } |
