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 committed 2016-06-09 20:40:04 -07:00
1 parent 5da0375ee9
commit 677693b764
1 file changed
+1 -1
+1 -1
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);
}