CDImagePBP: Fix error propagation in SwitchSubImage()

pull/3730/head
Stenzek 5 months ago
parent 08015f192e
commit efc623c989
No known key found for this signature in database

@ -898,6 +898,8 @@ bool CDImagePBP::SwitchSubImage(u32 index, Error* error)
// return to old disc, this should never fail... in theory.
if (!OpenDisc(old_disc, nullptr))
Panic("Failed to reopen old disc after switch.");
return false;
}
return true;

Loading…
Cancel
Save