Slight modification of extension renaming for logic's sake.

This commit is contained in:
grinvader
2005-02-28 15:56:58 +00:00
parent b34bad709f
commit c0f0e799f7

View File

@@ -388,7 +388,6 @@ void MoviePlay()
fnamest[statefileloc] = CMovieExt;
SRAMChdir();
loadstate2();
if ((movfhandle = fopen(fnamest+1,"rb")) != NULL)
@@ -435,8 +434,6 @@ void MoviePlay()
DSPMem[0x58] = 0;
DSPMem[0x68] = 0;
DSPMem[0x78] = 0;
memcpy (&fnamest[statefileloc-3], FileExt, 4);
}
else
{
@@ -445,12 +442,8 @@ void MoviePlay()
fclose(movfhandle);
}
}
else
{
memcpy (&fnamest[statefileloc-3], FileExt, 4);
}
asm_call(ChangetoLOADdir);
}
}
@@ -550,6 +543,7 @@ void MovieRecord()
fclose(tempfhandle);
MovieRecordWinVal = 1;
}
memcpy (&fnamest[statefileloc-3], FileExt, 4);
}
}