Send screenshots with compatibility reports.

This commit is contained in:
Unknown W. Brackets 2016-06-12 10:00:32 -07:00
parent 347158ecc6
commit 2ceee79324
3 changed files with 21 additions and 4 deletions

View file

@ -237,7 +237,8 @@ EventReturn ReportScreen::HandleSubmit(EventParams &e) {
default: compat = "unknown"; break;
}
Reporting::ReportCompatibility(compat, graphics_ + 1, speed_ + 1, gameplay_ + 1);
std::string filename = includeScreenshot_ ? screenshotFilename_ : "";
Reporting::ReportCompatibility(compat, graphics_ + 1, speed_ + 1, gameplay_ + 1, filename);
screenManager()->finishDialog(this, DR_OK);
return EVENT_DONE;
}