Fixed a potential movie desync problem for FDS games. (Disables disk shadow write during movie play). (This was a fceu.22 fix originally)

This commit is contained in:
adelikat 2008-06-20 00:12:56 +00:00
parent e75fd93f68
commit c8e3eef74d
1 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@
// and the when it can be successfully read/written to. This should
// prevent writes to wrong places OR add code to prevent disk ejects
// when the virtual motor is on(mmm...virtual motor).
extern int disableBatteryLoading;
static DECLFR(FDSRead4030);
static DECLFR(FDSRead4031);
@ -790,7 +790,7 @@ int FDSLoad(const char *name, FCEUFILE *fp)
fclose(zp);
if (!disableBatteryLoading)
{
FCEUFILE *tp;
char *fn=strdup(FCEU_MakeFName(FCEUMKF_FDS,0,0).c_str());