From 7ea6fa09f95a671096de8219b6cdfd1814f25796 Mon Sep 17 00:00:00 2001 From: Ulf Wohlers Date: Wed, 12 Mar 2003 13:28:36 +0000 Subject: [PATCH] CDROM_GetMountType func for unsupported systems Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@757 --- src/dos/cdrom_ioctl.cpp | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/dos/cdrom_ioctl.cpp b/src/dos/cdrom_ioctl.cpp index f3a0df2f..51356562 100644 --- a/src/dos/cdrom_ioctl.cpp +++ b/src/dos/cdrom_ioctl.cpp @@ -517,4 +517,15 @@ int CDROM_GetMountType(char* path) return 2; }; */ -#endif +#else + +// Get Mounttype function for unsupported systems +// always return 0 - physical cdrom + +int CDROM_GetMountType(char* path) +// Always return 0; +{ + return 0; +}; + +#endif \ No newline at end of file