From 7533ab4de4107d41ac559de83a3f8019634c1e46 Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Thu, 22 Jul 2004 08:26:49 +0000 Subject: [PATCH] change return value of ax of findnext. Fixes Willy Beamish showing up only the first savegame Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1892 --- src/dos/dos.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/dos/dos.cpp b/src/dos/dos.cpp index eab79ba4..4e5a028b 100644 --- a/src/dos/dos.cpp +++ b/src/dos/dos.cpp @@ -16,7 +16,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* $Id: dos.cpp,v 1.72 2004-06-10 08:48:53 qbix79 Exp $ */ +/* $Id: dos.cpp,v 1.73 2004-07-22 08:26:49 qbix79 Exp $ */ #include #include @@ -661,7 +661,8 @@ static Bitu DOS_21Handler(void) { case 0x4f: /* FINDNEXT Find next matching file */ if (DOS_FindNext()) { CALLBACK_SCF(false); - reg_ax=0xffff; /* Undocumented */ + /* reg_ax=0xffff;*/ /* Undocumented */ + reg_ax=0; /* Undocumented:Qbix Willy beamish */ } else { reg_ax=dos.errorcode; CALLBACK_SCF(true);