Skip to content

Commit

Permalink
create a blank second disk side also when attaching a d64 to 1571cr
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.code.sf.net/p/vice-emu/code/trunk@44124 379a1393-f5fb-40a0-bcee-ef074d9b53f7
  • Loading branch information
mrdudz committed Jun 25, 2023
1 parent e447a5d commit 323503b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vice/src/diskimage/fsimage-dxx.c
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,8 @@ int fsimage_read_dxx_image(const disk_image_t *image)

/* check double sided images */
image_has_two_single_sides = (image->type == DISK_IMAGE_TYPE_D71) && !(buffer[0x03] & 0x80);
double_sided_drive = drive_get_disk_drive_type(image->device) == DRIVE_TYPE_1571;
double_sided_drive = (drive_get_disk_drive_type(image->device) == DRIVE_TYPE_1571) ||
(drive_get_disk_drive_type(image->device) == DRIVE_TYPE_1571CR);

/* special case for 1571: if we are inserting a d64 image into a 1571, fill
the second side with "unformatted" data */
Expand Down

0 comments on commit 323503b

Please sign in to comment.