From 660caf830d3aadb6eb5dbad5fe37dbea7dcb380a Mon Sep 17 00:00:00 2001 From: Fritz Elfert Date: Sun, 27 Aug 2000 23:24:17 +0000 Subject: Bugfix: QUERY_DRIVE returns status as last byte, not first. --- lib/rpcs16.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/rpcs16.cc') 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 res = getResponse(a); + Enum res = getResponse(a, true); cout << dec << "qd: " << res << " " << a.getLen() << " a="<< a << endl; return res; } -- cgit v1.2.3