Disable reporting when game id is missing.

We can't track compatibility without a game id.  That either means
inventing one for homebrew (one that is consistent for all copies) or not
reporting homebrew.
This commit is contained in:
Unknown W. Brackets 2016-06-09 20:39:43 -07:00
parent 5da0375ee9
commit 677693b764

View file

@ -331,7 +331,7 @@ void GamePauseScreen::CreateViews() {
// TODO, also might be nice to show overall compat rating here?
// Based on their platform or even cpu/gpu/config. Would add an API for it.
if (Reporting::IsEnabled()) {
if (Reporting::IsEnabled() && gameId.size() && gameId != "_") {
I18NCategory *rp = GetI18NCategory("Reporting");
rightColumnItems->Add(new Choice(rp->T("ReportButton", "Report Feedback")))->OnClick.Handle(this, &GamePauseScreen::OnReportFeedback);
}