From 22216f02e39df02a0238df6a1aabada0982f6e31 Mon Sep 17 00:00:00 2001 From: sukibaby <163092272+sukibaby@users.noreply.github.com> Date: Mon, 10 Mar 2025 20:58:56 -0700 Subject: [PATCH] Only save high quality jpeg screenshots. Removing the case where `StepMania::SaveScreenshot` may request to save a low quality jpeg. The file size difference between a quality 70 and quality 95 jpeg is very small by modern storage standards. --- src/StepMania.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/StepMania.cpp b/src/StepMania.cpp index 32da63693a..6312dff364 100644 --- a/src/StepMania.cpp +++ b/src/StepMania.cpp @@ -1077,9 +1077,7 @@ RString StepMania::SaveScreenshot( RString Dir, bool SaveCompressed, bool MakeSi // Save the screenshot. If writing lossy to a memcard, use // SAVE_LOSSY_LOW_QUAL, so we don't eat up lots of space. RageDisplay::GraphicsFileFormat fmt; - if( SaveCompressed && MEMCARDMAN->PathIsMemCard(Dir) ) - fmt = RageDisplay::SAVE_LOSSY_LOW_QUAL; - else if( SaveCompressed ) + if( SaveCompressed ) fmt = RageDisplay::SAVE_LOSSY_HIGH_QUAL; else fmt = RageDisplay::SAVE_LOSSLESS_SENSIBLE;