From 25692864a98d99b1d01ac4a78531adb3e3d715b6 Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Wed, 30 Oct 2002 18:47:40 +0000 Subject: [PATCH] chanded fcb-parsename to update si in stead of di Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@464 --- src/dos/dos.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dos/dos.cpp b/src/dos/dos.cpp index 35533f65..d289ce14 100644 --- a/src/dos/dos.cpp +++ b/src/dos/dos.cpp @@ -253,7 +253,7 @@ static Bitu DOS_21Handler(void) { char string[1024]; MEM_StrCopy(SegPhys(ds)+reg_si,string,1024); reg_al=FCB_Parsename(SegValue(es),reg_di,reg_al ,string, &difference); - reg_di+=difference; + reg_si+=difference; } LOG_DEBUG("DOS:29:FCB Parse Filename, result:al=%d",reg_al); break;