mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
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_) ) {
|
||||
btnCalcCRC_ = rightColumnItems->Add(new ChoiceWithValueDisplay(&CRC32string, ga->T("Calculate CRC"), (const char*)nullptr));
|
||||
btnCalcCRC_->OnClick.Handle(this, &GameScreen::OnDoCRC32);
|
||||
|
|
Loading…
Add table
Reference in a new issue