Add info check
This commit is contained in:
parent
227333f45b
commit
b44c991fc1
1 changed files with 1 additions and 1 deletions
|
@ -190,7 +190,7 @@ void GameScreen::CreateViews() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool isHomebrew = info->region > GAMEREGION_MAX;
|
bool isHomebrew = info && info->region > GAMEREGION_MAX;
|
||||||
if (fileTypeSupportCRC && !isHomebrew && !Reporting::HasCRC(gamePath_) ) {
|
if (fileTypeSupportCRC && !isHomebrew && !Reporting::HasCRC(gamePath_) ) {
|
||||||
btnCalcCRC_ = rightColumnItems->Add(new ChoiceWithValueDisplay(&CRC32string, ga->T("Calculate CRC"), (const char*)nullptr));
|
btnCalcCRC_ = rightColumnItems->Add(new ChoiceWithValueDisplay(&CRC32string, ga->T("Calculate CRC"), (const char*)nullptr));
|
||||||
btnCalcCRC_->OnClick.Handle(this, &GameScreen::OnDoCRC32);
|
btnCalcCRC_->OnClick.Handle(this, &GameScreen::OnDoCRC32);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue