mirror of
https://github.com/jfdelnero/HxCFloppyEmulator.git
synced 2026-07-27 19:56:23 +00:00
check data availability.
This commit is contained in:
@@ -1021,7 +1021,8 @@ int32_t hxcfe_floppySectorBySectorCopy( HXCFE* floppycontext, HXCFE_FLOPPY * des
|
||||
}
|
||||
else
|
||||
{
|
||||
hxcfe_writeSectorData( new_sect_access, i, j, sect_ref->sector, 1, sect_ref->sectorsize, types[type_index], sect_ref->input_data, &fdcstatus );
|
||||
if(sect_ref->input_data)
|
||||
hxcfe_writeSectorData( new_sect_access, i, j, sect_ref->sector, 1, sect_ref->sectorsize, types[type_index], sect_ref->input_data, &fdcstatus );
|
||||
}
|
||||
|
||||
hxcfe_freeSectorConfigData( 0, sect_ref );
|
||||
|
||||
Reference in New Issue
Block a user