From 3c377474a15f9bde3c0e80d70a5779b7e679488f Mon Sep 17 00:00:00 2001 From: sorgelig Date: Tue, 5 Feb 2019 15:07:26 +0800 Subject: [PATCH] Fix archie rom loading. --- support/archie/archie.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/support/archie/archie.cpp b/support/archie/archie.cpp index f338e00..5b34ad3 100644 --- a/support/archie/archie.cpp +++ b/support/archie/archie.cpp @@ -143,16 +143,13 @@ void archie_send_file(unsigned char id, char *name) if (!(i & 127)) printf("*"); DISKLED_ON; - FileRead(&file, sector_buffer); + FileReadSec(&file, sector_buffer); DISKLED_OFF; EnableFpga(); spi8(ARCHIE_FILE_TX_DAT); spi_block_write(sector_buffer, 1); DisableFpga(); - - // still bytes to send? read next sector - if (i != blocks - 1) FileNextSector(&file); } FileClose(&file);