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
This commit is contained in:
parent
65fb00fd3d
commit
7533ab4de4
1 changed files with 3 additions and 2 deletions
|
@ -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 <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue