mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 22:29:21 +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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue