[XAM] Added missing nullptr check during Spa loading
This commit is contained in:
parent
523a2dc6e3
commit
6666b803fd
|
@ -61,6 +61,9 @@ bool XamState::IsUserSignedIn(uint64_t xuid) const {
|
||||||
}
|
}
|
||||||
|
|
||||||
void XamState::LoadSpaInfo(const SpaInfo* info) {
|
void XamState::LoadSpaInfo(const SpaInfo* info) {
|
||||||
|
if (!info) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
// Check if we have loaded SpaInfo already. If yes then check currently loaded
|
// Check if we have loaded SpaInfo already. If yes then check currently loaded
|
||||||
// version.
|
// version.
|
||||||
if (spa_info_) {
|
if (spa_info_) {
|
||||||
|
|
Loading…
Reference in New Issue