mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-27 16:23:35 +01:00
Add info check
This commit is contained in:
1 parent
227333f45b
commit
b44c991fc1
1 file changed
+1
-1
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user