Skip to content

Commit

Permalink
[libromdata] CBMDOS::loadFieldData(): Check for a C128 autoboot secto…
Browse files Browse the repository at this point in the history
…r on 1581 disk images.
  • Loading branch information
GerbilSoft committed Apr 9, 2024
1 parent 255196d commit fcfeea7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/libromdata/Media/CBMDOS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1374,7 +1374,8 @@ int CBMDOS::loadFieldData(void)

// Check for a C128 autoboot sector.
if (d->diskType == CBMDOSPrivate::DiskType::D64 ||
d->diskType == CBMDOSPrivate::DiskType::D71)
d->diskType == CBMDOSPrivate::DiskType::D71 ||
d->diskType == CBMDOSPrivate::DiskType::D81)
{
cbmdos_C128_autoboot_sector_t autoboot;
size_t size = d->read_sector(&autoboot, sizeof(autoboot), 1, 0);
Expand Down

0 comments on commit fcfeea7

Please sign in to comment.