CDUtils: Namespace code under the Common namespace
This commit is contained in:
@@ -397,7 +397,7 @@ void GameListCtrl::RefreshList()
|
||||
if (SConfig::GetInstance().m_ListDrives)
|
||||
{
|
||||
std::unique_lock<std::mutex> lk(m_title_database_mutex);
|
||||
for (const auto& drive : cdio_get_devices())
|
||||
for (const auto& drive : Common::cdio_get_devices())
|
||||
{
|
||||
auto file = std::make_shared<UICommon::GameFile>(drive);
|
||||
if (file->IsValid())
|
||||
|
||||
@@ -72,7 +72,7 @@ wxMenu* MainMenuBar::CreateFileMenu() const
|
||||
{
|
||||
auto* const external_drive_menu = new wxMenu;
|
||||
|
||||
const std::vector<std::string> drives = cdio_get_devices();
|
||||
const std::vector<std::string> drives = Common::cdio_get_devices();
|
||||
// Windows Limitation of 24 character drives
|
||||
for (size_t i = 0; i < drives.size() && i < 24; i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user