[Plugin] Fixed the filename of the screenshot

This commit is contained in:
Maschell 2018-03-08 18:55:10 +01:00
parent 117d2ab7d6
commit af70ccf83f
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -7,6 +7,7 @@ example_plugin_pic/*
plugins/*/bin/*
plugins/*/build/*
plugins/*/*.cbp
plugins/screenshot/screenshots/*
loader/WiiUPluginLoader.cscope_file_list
loader/WiiUPluginLoader.layout
loader/screenshots/*

View File

@ -42,7 +42,7 @@ DECL_FUNCTION(void, GX2CopyColorBufferToScanBuffer, const GX2ColorBuffer *colorB
FSUtils::CreateSubfolder(buffer);
snprintf(buffer,254,"%s%04i-%02i-%02i/%04i-%02i.%02i_%02i.%02i.%02i_",
snprintf(buffer,254,"%s%04i-%02i-%02i/%04i-%02i-%02i_%02i.%02i.%02i_",
WIIU_SCREENSHOT_PATH,output.year,output.mon,output.mday,output.year,output.mon,output.mday,output.hour,output.min,output.sec);
if(scan_target == 1 && colorBuffer != NULL && takeScreenshotTV && gAppStatus == WUPS_APP_STATUS_FOREGROUND) {