From 2d6a977dc54cd8a347cabb1659b597dcdd5df66f Mon Sep 17 00:00:00 2001 From: daco65 Date: Tue, 24 Feb 2009 17:06:27 +0000 Subject: [PATCH] made the menu display the drive path in a more common way instead of the NT device path git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2416 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Common/Src/CDUtils.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Core/Common/Src/CDUtils.cpp b/Source/Core/Common/Src/CDUtils.cpp index 37c6190f7a..6b5927287e 100644 --- a/Source/Core/Common/Src/CDUtils.cpp +++ b/Source/Core/Common/Src/CDUtils.cpp @@ -2,6 +2,7 @@ With minor adjustments */ #include "CDUtils.h" +#include "common.h" /*! Follow symlinks until we have the real device file @@ -103,7 +104,7 @@ const char *is_cdrom_win32(const char c_drive_letter) { case DRIVE_CDROM: { char sz_win32_drive_full[] = "\\\\.\\X:"; sz_win32_drive_full[4] = c_drive_letter; - return strdup(sz_win32_drive_full); + return strdup(&sz_win32_drive_full[4]); } default: //cdio_debug("Drive %c is not a CD-ROM", c_drive_letter);