Don't save the frame buffer into savestates if the core is NES since it saves this data itself anyway
This commit is contained in:
parent
edb40f4087
commit
f06c4e0091
|
@ -251,7 +251,7 @@ namespace BizHawk.MultiClient
|
|||
{
|
||||
bool gdi = Global.Config.DisplayGDI;
|
||||
|
||||
if(Global.Direct3D == null)
|
||||
if (Global.Direct3D == null)
|
||||
gdi = true;
|
||||
|
||||
if (renderTarget != null)
|
||||
|
@ -991,7 +991,7 @@ namespace BizHawk.MultiClient
|
|||
rom = new RomGame(new HawkFile(Global.Config.PathPCEBios));
|
||||
|
||||
if (rom.GameInfo.Status == RomStatus.BadDump)
|
||||
MessageBox.Show("The PCE-CD System Card you have selected is known to be a bad dump. This may cause problems playing PCE-CD games.\n\n"+
|
||||
MessageBox.Show("The PCE-CD System Card you have selected is known to be a bad dump. This may cause problems playing PCE-CD games.\n\n" +
|
||||
"It is recommended that you find a good dump of the system card. Sorry to be the bearer of bad news!");
|
||||
|
||||
else if (rom.GameInfo.NotInDatabase)
|
||||
|
@ -1769,10 +1769,13 @@ namespace BizHawk.MultiClient
|
|||
Global.Emulator.SaveStateText(writer);
|
||||
HandleMovieSaveState(writer);
|
||||
if (Global.Config.SaveScreenshotWithStates)
|
||||
{
|
||||
if (!(Global.Emulator is NES)) //NES saves the video buffer on its own so it does not need to do this
|
||||
{
|
||||
writer.Write("Framebuffer ");
|
||||
Global.Emulator.VideoProvider.GetVideoBuffer().SaveAsHex(writer);
|
||||
}
|
||||
}
|
||||
|
||||
writer.Close();
|
||||
Global.RenderPanel.AddMessage("Saved state: " + name);
|
||||
|
|
Loading…
Reference in New Issue