Skip to content

Commit d992724

Browse files
committed
[apple2] change theFuji to pointer in disk.cpp
1 parent fd751a7 commit d992724

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/device/iwm/disk.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ void iwmDisk::iwm_ctrl(iwm_decoded_cmd_t cmd)
228228
Debug_printf("Handling Eject command\r\n");
229229
unmount();
230230
switched = false; //force switched = false when ejected from host.
231-
theFuji.handle_ctl_eject(_devnum);
231+
theFuji->handle_ctl_eject(_devnum);
232232
break;
233233
default:
234234
err_result = SP_ERR_BADCTL;
@@ -250,7 +250,7 @@ void iwmDisk::process(iwm_decoded_cmd_t cmd)
250250
if (disk_num == '0' && status_code > 0x05) {
251251
// THIS IS AN OLD HACK FOR CALLING STATUS ON THE FUJI DEVICE INSTEAD OF ADDING THE_FUJI AS A DEVICE.
252252
Debug_printf("\r\nUsing DISK_0 for FUJI device\r\n");
253-
theFuji.FujiStatus(cmd);
253+
theFuji->FujiStatus(cmd);
254254
}
255255
else {
256256
iwm_status(cmd);
@@ -273,7 +273,7 @@ void iwmDisk::process(iwm_decoded_cmd_t cmd)
273273
if (disk_num == '0' && status_code > 0x0A) {
274274
// THIS IS AN OLD HACK FOR CALLING CONTROL ON THE FUJI DEVICE INSTEAD OF ADDING THE_FUJI AS A DEVICE.
275275
Debug_printf("\r\nUsing DISK_0 for FUJI device\r\n");
276-
theFuji.FujiControl(cmd);
276+
theFuji->FujiControl(cmd);
277277
}
278278
else {
279279
iwm_ctrl(cmd);

0 commit comments

Comments
 (0)