MainForm.ClearSaveRam() no longer deletes a disk file.
From my reading of the code, this should not affect movie playback; the saveram from disk is not used when starting playback or recording of a clean movie. If for some reason I'm wrong though, that problem should be addressed directly instead of deleting the file.
This commit is contained in:
parent
6e31862d23
commit
0a0f4e86d8
|
@ -3615,10 +3615,11 @@ namespace BizHawk.MultiClient
|
||||||
public void ClearSaveRAM()
|
public void ClearSaveRAM()
|
||||||
{
|
{
|
||||||
//zero says: this is sort of sketchy... but this is no time for rearchitecting
|
//zero says: this is sort of sketchy... but this is no time for rearchitecting
|
||||||
|
/*
|
||||||
string saveRamPath = PathManager.SaveRamPath(Global.Game);
|
string saveRamPath = PathManager.SaveRamPath(Global.Game);
|
||||||
var file = new FileInfo(saveRamPath);
|
var file = new FileInfo(saveRamPath);
|
||||||
if (file.Exists) file.Delete();
|
if (file.Exists) file.Delete();
|
||||||
|
*/
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue