From 89c84a4944e9e6afeb47f24fb8bc61d5ddbf4864 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= Date: Thu, 7 May 2020 22:28:16 +0200 Subject: [PATCH] fix HFE disk write this fixes https://mametesters.org/view.php?id=7526 --- src/lib/formats/hxchfe_dsk.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/lib/formats/hxchfe_dsk.cpp b/src/lib/formats/hxchfe_dsk.cpp index 3fa42793a01..8e51af8a825 100644 --- a/src/lib/formats/hxchfe_dsk.cpp +++ b/src/lib/formats/hxchfe_dsk.cpp @@ -615,7 +615,6 @@ void hfe_format::generate_hfe_bitstream_from_track(int cyl, int head, int& sampl // Start of track? Use next entry. if (edge==0) { - cur_pos = 0; edge = tbuf[++cur_entry] & floppy_image::TIME_MASK; } @@ -671,10 +670,6 @@ void hfe_format::generate_hfe_bitstream_from_track(int cyl, int head, int& sampl } cur_pos = next; - if(cur_pos >= 200000000) { - cur_pos -= 200000000; - cur_entry = 0; - } bit = (bit << 1) & 0xff; if (bit == 0)