diff options
author | Fritz Elfert <felfert@to.com> | 2000-08-27 23:24:17 +0000 |
---|---|---|
committer | Fritz Elfert <felfert@to.com> | 2000-08-27 23:24:17 +0000 |
commit | 660caf830d3aadb6eb5dbad5fe37dbea7dcb380a (patch) | |
tree | 5286661a80c86172dd0d5b8520b37b08d13a3593 /lib/rpcs16.cc | |
parent | f1437f9b53cc63a7d40009a1d7c038bb9514e46e (diff) | |
download | plptools-660caf830d3aadb6eb5dbad5fe37dbea7dcb380a.tar.gz plptools-660caf830d3aadb6eb5dbad5fe37dbea7dcb380a.tar.bz2 plptools-660caf830d3aadb6eb5dbad5fe37dbea7dcb380a.zip |
Bugfix: QUERY_DRIVE returns status as last byte, not first.
Diffstat (limited to 'lib/rpcs16.cc')
-rw-r--r-- | lib/rpcs16.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rpcs16.cc b/lib/rpcs16.cc index 57963e2..6e196fc 100644 --- a/lib/rpcs16.cc +++ b/lib/rpcs16.cc @@ -52,7 +52,7 @@ queryDrive(char drive, bufferArray &ret) a.addByte(drive); if (!sendCommand(rpcs::QUERY_DRIVE, a)) return rfsv::E_PSI_FILE_DISC; - Enum<rfsv::errs> res = getResponse(a); + Enum<rfsv::errs> res = getResponse(a, true); cout << dec << "qd: " << res << " " << a.getLen() << " a="<< a << endl; return res; } |