static void flopimg_write_track_data_info_buffer(mess_image *image, int side, const void *ptr, int *length) { struct mess_flopimg *flopimg; flopimg = get_flopimg(image); if (!flopimg || !flopimg->floppy) return; floppy_write_track_data(flopimg->floppy, side, flopimg->track, ptr, *length); }
void legacy_floppy_image_device::floppy_drive_write_track_data_info_buffer(int side, const void *ptr, int *length ) { if (exists()) { if (!m_floppy) return; floppy_write_track_data(m_floppy, side, m_track, ptr, *length); } }
void floppy_drive_write_track_data_info_buffer(device_t *img, int side, const void *ptr, int *length ) { floppy_drive *flopimg; device_image_interface *image = dynamic_cast<device_image_interface *>(img); if (image->exists()) { flopimg = get_safe_token( img ); if (!flopimg || !flopimg->floppy) return; floppy_write_track_data(flopimg->floppy, side, flopimg->track, ptr, *length); } }