mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-31 00:32:53 +00:00
Merge pull request #3141 from lioncash/get
ConfigManager: Get rid of an unnecessary smart-pointer get() call
This commit is contained in:
commit
e955a3a191
@ -707,7 +707,7 @@ bool SConfig::AutoSetup(EBootBS2 _BootBS2)
|
|||||||
m_revision = pVolume->GetRevision();
|
m_revision = pVolume->GetRevision();
|
||||||
|
|
||||||
// Check if we have a Wii disc
|
// Check if we have a Wii disc
|
||||||
bWii = pVolume.get()->GetVolumeType() == DiscIO::IVolume::WII_DISC;
|
bWii = pVolume->GetVolumeType() == DiscIO::IVolume::WII_DISC;
|
||||||
|
|
||||||
const char* retrieved_region_dir = GetRegionOfCountry(pVolume->GetCountry());
|
const char* retrieved_region_dir = GetRegionOfCountry(pVolume->GetCountry());
|
||||||
if (!retrieved_region_dir)
|
if (!retrieved_region_dir)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user