Slight modification of extension renaming for logic's sake.
This commit is contained in:
@@ -388,7 +388,6 @@ void MoviePlay()
|
|||||||
fnamest[statefileloc] = CMovieExt;
|
fnamest[statefileloc] = CMovieExt;
|
||||||
|
|
||||||
SRAMChdir();
|
SRAMChdir();
|
||||||
|
|
||||||
loadstate2();
|
loadstate2();
|
||||||
|
|
||||||
if ((movfhandle = fopen(fnamest+1,"rb")) != NULL)
|
if ((movfhandle = fopen(fnamest+1,"rb")) != NULL)
|
||||||
@@ -435,8 +434,6 @@ void MoviePlay()
|
|||||||
DSPMem[0x58] = 0;
|
DSPMem[0x58] = 0;
|
||||||
DSPMem[0x68] = 0;
|
DSPMem[0x68] = 0;
|
||||||
DSPMem[0x78] = 0;
|
DSPMem[0x78] = 0;
|
||||||
|
|
||||||
memcpy (&fnamest[statefileloc-3], FileExt, 4);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -445,12 +442,8 @@ void MoviePlay()
|
|||||||
fclose(movfhandle);
|
fclose(movfhandle);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
memcpy (&fnamest[statefileloc-3], FileExt, 4);
|
memcpy (&fnamest[statefileloc-3], FileExt, 4);
|
||||||
}
|
|
||||||
|
|
||||||
asm_call(ChangetoLOADdir);
|
asm_call(ChangetoLOADdir);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -550,6 +543,7 @@ void MovieRecord()
|
|||||||
fclose(tempfhandle);
|
fclose(tempfhandle);
|
||||||
MovieRecordWinVal = 1;
|
MovieRecordWinVal = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
memcpy (&fnamest[statefileloc-3], FileExt, 4);
|
memcpy (&fnamest[statefileloc-3], FileExt, 4);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user