nfp: Address compiler issues

This commit is contained in:
german77 2022-02-08 16:53:53 -06:00 committed by Narr the Reg
parent 29f9a454eb
commit e35c2fd5d0
2 changed files with 25 additions and 25 deletions

View file

@ -2915,8 +2915,7 @@ void GMainWindow::OnLoadAmiibo() {
Service::SM::ServiceManager& sm = system->ServiceManager();
auto nfc = sm.GetService<Service::NFP::Module::Interface>("nfp:user");
if (nfc == nullptr) {
QMessageBox::warning(this, tr("Error"),
tr("The current game is not looking for amiibos"));
QMessageBox::warning(this, tr("Error"), tr("The current game is not looking for amiibos"));
return;
}
const auto nfc_state = nfc->GetCurrentState();