diff --git a/zsnes/src/dos/dosintrf.asm b/zsnes/src/dos/dosintrf.asm index 0d49a018..171b0215 100644 --- a/zsnes/src/dos/dosintrf.asm +++ b/zsnes/src/dos/dosintrf.asm @@ -395,8 +395,10 @@ NEWSYM File_Seek pushad call ZFileSeek popad + cmp byte[ZFileSeekError], 1 mov ax,dx mov dx,cx + clc ret ; seek to cx:dx from 0 position, return carry as error mov ax,4200h