FullscreenUI: Allow verification of runtime-populated images

wip3-rebase
Stenzek 2 days ago
parent 4cd6e30ded
commit 108e721f50
No known key found for this signature in database

@ -2505,8 +2505,13 @@ void FullscreenUI::PopulateImageTrackList()
s_settings_locals.image_track_list.clear();
s_settings_locals.image_track_summary.clear();
if (!s_settings_locals.game_settings_entry || s_settings_locals.game_settings_entry->is_runtime_populated)
// Don't populate tracks when we're running from disc, because the core might have exclusive access.
if (!s_settings_locals.game_settings_entry ||
(s_settings_locals.game_settings_entry->is_runtime_populated &&
CDImage::IsDeviceName(s_settings_locals.game_settings_entry->path.c_str())))
{
return;
}
std::unique_ptr<CDImage> image = CDImage::Open(s_settings_locals.game_settings_entry->path.c_str(), false, nullptr);
if (!image)

Loading…
Cancel
Save