From 1380a14177fc07f9d09df937b20487137aab4d4f Mon Sep 17 00:00:00 2001 From: Ben Bridle Date: Sun, 30 Jun 2024 16:54:43 +1200 Subject: Set file operation success flag when ascending and descending This is to allow the program to detect whether the previous ascend or descend operation succeeded. --- src/devices.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/devices.rs') diff --git a/src/devices.rs b/src/devices.rs index e0c4280..864e1ba 100644 --- a/src/devices.rs +++ b/src/devices.rs @@ -204,7 +204,7 @@ impl DeviceBus for StandardDevices { // 0x8F => todo!(), // File 0x90 => read_b!(self.file.entry.is_some()), - 0x91 => read_b!(self.file.move_success), + 0x91 => read_b!(self.file.op_success), 0x92 => self.file.name_buffer.read_byte(), 0x93 => read_b!(self.file.entry_type()), 0x94 => self.file.read_byte(), -- cgit v1.2.3-70-g09d2