mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-03 14:49:22 +00:00
DVDInterface: Remove useless disc type check
This commit is contained in:
parent
6661492989
commit
24192671f9
1 changed files with 1 additions and 5 deletions
|
@ -512,11 +512,7 @@ bool UpdateRunningGameMetadata(std::optional<u64> title_id)
|
||||||
if (!DVDThread::HasDisc())
|
if (!DVDThread::HasDisc())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
const DiscIO::Partition& partition = DVDThread::GetDiscType() == DiscIO::Platform::WII_DISC ?
|
return DVDThread::UpdateRunningGameMetadata(s_current_partition, title_id);
|
||||||
s_current_partition :
|
|
||||||
DiscIO::PARTITION_NONE;
|
|
||||||
|
|
||||||
return DVDThread::UpdateRunningGameMetadata(partition, title_id);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void ChangePartition(const DiscIO::Partition& partition)
|
void ChangePartition(const DiscIO::Partition& partition)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue