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:
parent
e75fd93f68
commit
c8e3eef74d
|
@ -40,7 +40,7 @@
|
||||||
// and the when it can be successfully read/written to. This should
|
// and the when it can be successfully read/written to. This should
|
||||||
// prevent writes to wrong places OR add code to prevent disk ejects
|
// prevent writes to wrong places OR add code to prevent disk ejects
|
||||||
// when the virtual motor is on(mmm...virtual motor).
|
// when the virtual motor is on(mmm...virtual motor).
|
||||||
|
extern int disableBatteryLoading;
|
||||||
|
|
||||||
static DECLFR(FDSRead4030);
|
static DECLFR(FDSRead4030);
|
||||||
static DECLFR(FDSRead4031);
|
static DECLFR(FDSRead4031);
|
||||||
|
@ -790,7 +790,7 @@ int FDSLoad(const char *name, FCEUFILE *fp)
|
||||||
|
|
||||||
fclose(zp);
|
fclose(zp);
|
||||||
|
|
||||||
|
if (!disableBatteryLoading)
|
||||||
{
|
{
|
||||||
FCEUFILE *tp;
|
FCEUFILE *tp;
|
||||||
char *fn=strdup(FCEU_MakeFName(FCEUMKF_FDS,0,0).c_str());
|
char *fn=strdup(FCEU_MakeFName(FCEUMKF_FDS,0,0).c_str());
|
||||||
|
|
Loading…
Reference in New Issue