Don't compress state/branch screenshots (resolves #3734)

This commit is contained in:
YoshiRulz 2025-08-06 12:14:24 +10:00
parent 5d891e0683
commit e0222f13e3
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
2 changed files with 6 additions and 3 deletions

View File

@ -156,13 +156,13 @@ namespace BizHawk.Client.Common
{
var vp = new BitmapBufferVideoProvider(b.OSDFrameBuffer);
QuickBmpFile.Save(vp, s, b.OSDFrameBuffer.Width, b.OSDFrameBuffer.Height);
});
}, zstdCompress: false);
bs.PutLump(ncoreframebuffer, s =>
{
var vp = new BitmapBufferVideoProvider(b.CoreFrameBuffer);
QuickBmpFile.Save(vp, s, b.CoreFrameBuffer.Width, b.CoreFrameBuffer.Height);
});
}, zstdCompress: false);
bs.PutLump(nmarkers, tw => tw.WriteLine(b.Markers.ToString()));

View File

@ -82,7 +82,10 @@ namespace BizHawk.Client.Common
using (new SimpleTime("Save Framebuffer"))
{
bs.PutLump(BinaryStateLump.Framebuffer, s => QuickBmpFile.Save(_videoProvider, s, outWidth, outHeight));
bs.PutLump(
BinaryStateLump.Framebuffer,
s => QuickBmpFile.Save(_videoProvider, s, outWidth, outHeight),
zstdCompress: false);
}
}