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.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/lib/formats/d64_dsk.c b/src/lib/formats/d64_dsk.c
index 2bce0f35848..d5d61067852 100644
--- a/src/lib/formats/d64_dsk.c
+++ b/src/lib/formats/d64_dsk.c
@@ -170,7 +170,7 @@ struct d64dsk_tag
INLINE FUNCTIONS
***************************************************************************/
-INLINE struct d64dsk_tag *get_tag(floppy_image *floppy)
+INLINE struct d64dsk_tag *get_tag(floppy_image_legacy *floppy)
{
return (d64dsk_tag *)floppy_tag(floppy);
}
@@ -189,7 +189,7 @@ INLINE float get_dos_track(int track)
of heads in the disk image
-------------------------------------------------*/
-static int d64_get_heads_per_disk(floppy_image *floppy)
+static int d64_get_heads_per_disk(floppy_image_legacy *floppy)
{
return get_tag(floppy)->heads;
}
@@ -199,7 +199,7 @@ static int d64_get_heads_per_disk(floppy_image *floppy)
of DOS tracks in the disk image
-------------------------------------------------*/
-static int d64_get_tracks_per_disk(floppy_image *floppy)
+static int d64_get_tracks_per_disk(floppy_image_legacy *floppy)
{
return get_tag(floppy)->tracks;
}
@@ -209,7 +209,7 @@ static int d64_get_tracks_per_disk(floppy_image *floppy)
of sectors per given track
-------------------------------------------------*/
-static int d64_get_sectors_per_track(floppy_image *floppy, int head, int track)
+static int d64_get_sectors_per_track(floppy_image_legacy *floppy, int head, int track)
{
int sectors_per_track = 0;
@@ -228,7 +228,7 @@ static int d64_get_sectors_per_track(floppy_image *floppy, int head, int track)
the disk image for a given track
-------------------------------------------------*/
-static floperr_t get_track_offset(floppy_image *floppy, int head, int track, UINT64 *offset)
+static floperr_t get_track_offset(floppy_image_legacy *floppy, int head, int track, UINT64 *offset)
{
struct d64dsk_tag *tag = get_tag(floppy);
UINT64 offs = 0;
@@ -248,7 +248,7 @@ static floperr_t get_track_offset(floppy_image *floppy, int head, int track, UIN
d64_get_track_size - returns the track size
-------------------------------------------------*/
-static UINT32 d64_get_track_size(floppy_image *floppy, int head, int track)
+static UINT32 d64_get_track_size(floppy_image_legacy *floppy, int head, int track)
{
struct d64dsk_tag *tag = get_tag(floppy);
@@ -269,7 +269,7 @@ static UINT32 d64_get_track_size(floppy_image *floppy, int head, int track)
code for the given sector
-------------------------------------------------*/
-static int get_sector_error_code(floppy_image *floppy, int head, int dos_track, int sector)
+static int get_sector_error_code(floppy_image_legacy *floppy, int head, int dos_track, int sector)
{
struct d64dsk_tag *tag = get_tag(floppy);
@@ -375,7 +375,7 @@ static void gcr_double_2_gcr(UINT8 a, UINT8 b, UINT8 c, UINT8 d, UINT8 *dest)
*/
-static floperr_t d64_read_track(floppy_image *floppy, int head, int track, UINT64 offset, void *buffer, size_t buflen)
+static floperr_t d64_read_track(floppy_image_legacy *floppy, int head, int track, UINT64 offset, void *buffer, size_t buflen)
{
struct d64dsk_tag *tag = get_tag(floppy);
floperr_t err;
@@ -543,7 +543,7 @@ static floperr_t d64_read_track(floppy_image *floppy, int head, int track, UINT6
disk image
-------------------------------------------------*/
-static floperr_t d64_write_track(floppy_image *floppy, int head, int track, UINT64 offset, const void *buffer, size_t buflen)
+static floperr_t d64_write_track(floppy_image_legacy *floppy, int head, int track, UINT64 offset, const void *buffer, size_t buflen)
{
return FLOPPY_ERROR_UNSUPPORTED;
}
@@ -552,7 +552,7 @@ static floperr_t d64_write_track(floppy_image *floppy, int head, int track, UINT
d64_identify - identifies the disk image
-------------------------------------------------*/
-static void d64_identify(floppy_image *floppy, int *dos, int *heads, int *tracks, bool *has_errors)
+static void d64_identify(floppy_image_legacy *floppy, int *dos, int *heads, int *tracks, bool *has_errors)
{
switch (floppy_image_size(floppy))
{