mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-12 22:10:29 +02:00
Change a variable name to match the name used in the ini file. Default screenshots to JPG.
This commit is contained in:
1 parent
a4e95e5ce9
commit
613b9ec994
3 files changed
+5
-5
No files matched your search
+2
-2
@@ -467,7 +467,7 @@ void TakeScreenshot() {
|
||||
|
||||
char temp[256];
|
||||
while (i < 10000){
|
||||
if(g_Config.bScreenshotAsPNG)
|
||||
if(g_Config.bScreenshotsAsPNG)
|
||||
sprintf(temp, "screenshots/screen%05d.png", i);
|
||||
else
|
||||
sprintf(temp, "screenshots/screen%05d.jpg", i);
|
||||
@@ -488,7 +488,7 @@ void TakeScreenshot() {
|
||||
memcpy(flipbuffer + y * pixel_xres * 4, buffer + (pixel_yres - y - 1) * pixel_xres * 4, pixel_xres * 4);
|
||||
}
|
||||
|
||||
if(g_Config.bScreenshotAsPNG)
|
||||
if(g_Config.bScreenshotsAsPNG)
|
||||
stbi_write_png(temp, pixel_xres, pixel_yres, 4, flipbuffer, pixel_xres * 4);
|
||||
else
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user