From e9d9dc309fa04289512b905f55618b462f0812c6 Mon Sep 17 00:00:00 2001 From: wfjm Date: Sat, 3 Jun 2017 19:42:29 +0200 Subject: [PATCH] Rw11VirtDiskOver.cpp: Read(): BUGFIX: fix index error in blockwise read --- doc/CHANGELOG.md | 1 + tools/src/librw11/Rw11VirtDiskOver.cpp | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/CHANGELOG.md b/doc/CHANGELOG.md index 7b42edce..a981ab05 100644 --- a/doc/CHANGELOG.md +++ b/doc/CHANGELOG.md @@ -25,6 +25,7 @@ The full set of tests is only run for tagged releases. - RSX11-M uses buffer chaining, will not work ### Summary +- Rw11VirtDiskOver.cpp: Read(): BUGFIX: fix index error in blockwise read - Update USB serial latency handling - 99-retro-usb-permissions.rules renamed to 90-retro-usb-permissions.rules - 91-retro-usb-latency.rules: udev rule to set low latency for FDTI USB UART diff --git a/tools/src/librw11/Rw11VirtDiskOver.cpp b/tools/src/librw11/Rw11VirtDiskOver.cpp index 16a1a1ab..50a263b7 100644 --- a/tools/src/librw11/Rw11VirtDiskOver.cpp +++ b/tools/src/librw11/Rw11VirtDiskOver.cpp @@ -1,4 +1,4 @@ -// $Id: Rw11VirtDiskOver.cpp 896 2017-05-07 22:07:35Z mueller $ +// $Id: Rw11VirtDiskOver.cpp 903 2017-06-03 17:40:51Z mueller $ // // Copyright 2017- by Walter F.J. Mueller // @@ -13,6 +13,7 @@ // // Revision History: // Date Rev Version Comment +// 2017-06-03 903 1.0.4 Read(): BUGFIX: fix index error in blockwise read // 2017-05-07 896 1.0.3 List(): BUGFIX: correct write count accumulation // 2017-04-15 875 1.0.2 Open(): use overload with scheme handling // 2017-04-07 868 1.0.1 Dump(): add detail arg @@ -90,7 +91,7 @@ bool Rw11VirtDiskOver::Read(size_t lba, size_t nblk, uint8_t* data, for (size_t i=0; isecond).Read(data+i*fBlkSize);