Fix fclose() emulation

This commit is contained in:
Nick Clifton
2000-02-14 19:49:48 +00:00
parent e18ef0bde6
commit 3dfcd3c614
2 changed files with 6 additions and 1 deletions

View File

@@ -545,7 +545,7 @@ handle_trap1 ()
break;
case 6:
a[0] = (unsigned long) (cpu.gr[4]);
a[0] = (unsigned long) (cpu.gr[PARM1]);
/* Watch out for debugger's files. */
if (is_opened (a[0]))
{