summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats/d64_dsk.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/formats/d64_dsk.c')
-rw-r--r--src/lib/formats/d64_dsk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/formats/d64_dsk.c b/src/lib/formats/d64_dsk.c
index 9c0fa259363..172918a3051 100644
--- a/src/lib/formats/d64_dsk.c
+++ b/src/lib/formats/d64_dsk.c
@@ -10,7 +10,7 @@
*********************************************************************/
-#include "emu.h"
+#include "emu.h" // emu_fatalerror, fatalerror
#include "formats/d64_dsk.h"
d64_format::d64_format()
@@ -167,7 +167,7 @@ floppy_image_format_t::desc_e* d64_format::get_sector_desc(const format &f, int
return desc;
}
-void d64_format::build_sector_description(const format &f, UINT8 *sectdata, offs_t sect_offs, offs_t error_offs, desc_s *sectors, int sector_count) const
+void d64_format::build_sector_description(const format &f, UINT8 *sectdata, UINT32 sect_offs, UINT32 error_offs, desc_s *sectors, int sector_count) const
{
for (int i = 0; i < sector_count; i++) {
sectors[i].data = sectdata + sect_offs;