From 00dd3bc5db09623c0359c439966b49a5f422580a Mon Sep 17 00:00:00 2001 From: FeralChild64 Date: Thu, 25 Feb 2021 19:12:44 +0100 Subject: [PATCH] CBDOS now properly reports 'file not open' --- src/dos_m65/dev_sdcard/fs_hvsr_read_file.s | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/dos_m65/dev_sdcard/fs_hvsr_read_file.s b/src/dos_m65/dev_sdcard/fs_hvsr_read_file.s index e4dcc5c1..0f8ad418 100644 --- a/src/dos_m65/dev_sdcard/fs_hvsr_read_file.s +++ b/src/dos_m65/dev_sdcard/fs_hvsr_read_file.s @@ -53,8 +53,8 @@ fs_hvsr_read_file_open: - clc - rts + jmp dos_EXIT + fs_hvsr_file_not_found: @@ -68,5 +68,4 @@ fs_hvsr_file_not_found: lda #39 ; file not found error jsr util_status_SD - sec - rts + jmp dos_EXIT_SEC