mirror of
https://github.com/mauiaaron/apple2.git
synced 2025-01-26 17:32:40 +00:00
should always be NI2 size for converted PO/DO
This commit is contained in:
parent
dcafae8390
commit
bf4e920b1f
@ -412,8 +412,6 @@ static bool load_track_data(void) {
|
||||
return false;
|
||||
}
|
||||
disk6.disk[disk6.drive].nib_count = NIB_TRACK_SIZE;
|
||||
// } else if ( THIS IS NI2 FORMAT ... ) {
|
||||
// Do stuff-n-things
|
||||
} else {
|
||||
// .dsk, .do, .po images
|
||||
int track_pos = DSK_TRACK_SIZE * (disk6.disk[disk6.drive].phase >> 1);
|
||||
@ -426,7 +424,7 @@ static bool load_track_data(void) {
|
||||
}
|
||||
|
||||
disk6.disk[disk6.drive].nib_count = nibblize_track(buf, disk6.drive);
|
||||
if ( (disk6.disk[disk6.drive].nib_count != NIB_TRACK_SIZE) && (disk6.disk[disk6.drive].nib_count != NI2_TRACK_SIZE) ) {
|
||||
if (disk6.disk[disk6.drive].nib_count != NI2_TRACK_SIZE) {
|
||||
ERRLOG("Invalid dsk image creation...");
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user