]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commit
ATAPI: Fix writes
authorMatt Harlum <matt@harlum.net>
Sat, 25 May 2024 05:38:16 +0000 (17:38 +1200)
committerMatt Harlum <matt@harlum.net>
Sat, 25 May 2024 05:38:16 +0000 (17:38 +1200)
commit77c668df5d8266184b7d2b2143bb4611ca54175e
treeea068db0006a43f051b37c833951239fab88134c
parentb2877eeb48e2a922f2a9ca50481e7d3ca16d0f5c
ATAPI: Fix writes

do_process_packet: use ide->packet_data_size not ide->data_size which is always 0 when it gets here

Also fix the first arg to memcpy here which was supplying the address of the buffer pointer
ide.cpp