CDUtils: Namespace code under the Common namespace

This commit is contained in:
Lioncash
2018-05-27 18:30:58 -04:00
parent 5fdf171967
commit 1f75fa0aff
7 changed files with 11 additions and 5 deletions
+1 -1
View File
@@ -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())
+1 -1
View File
@@ -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++)
{