From 0816d3f5a914879d16bec04e8f345c484709f3d9 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Mon, 14 Aug 2017 21:41:20 -0400 Subject: [PATCH] Corrected 'read deleted data' command. It's `0xc`, not `0xb`. --- Components/8272/i8272.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Components/8272/i8272.cpp b/Components/8272/i8272.cpp index 567de01d7..89a9cc709 100644 --- a/Components/8272/i8272.cpp +++ b/Components/8272/i8272.cpp @@ -243,7 +243,7 @@ void i8272::posit_event(int event_type) { static const size_t required_lengths[32] = { 0, 0, 9, 3, 2, 9, 9, 2, - 1, 9, 2, 9, 0, 6, 0, 3, + 1, 9, 2, 0, 9, 6, 0, 3, 0, 9, 0, 0, 0, 0, 0, 0, 0, 9, 0, 0, 0, 9, 0, 0, }; @@ -274,7 +274,7 @@ void i8272::posit_event(int event_type) { // Jump to the proper place. switch(command_[0] & 0x1f) { case 0x06: // read data - case 0x0b: // read deleted data + case 0x0c: // read deleted data goto read_data; case 0x05: // write data @@ -329,7 +329,7 @@ void i8272::posit_event(int event_type) { // Branch to whatever is supposed to happen next switch(command_[0] & 0x1f) { case 0x06: // read data - case 0x0b: // read deleted data + case 0x0c: // read deleted data goto read_data_found_header; case 0x05: // write data