1
0
Fork 0

Move GetMountType to dos_mscdex file

This was the only user of this function.
This commit is contained in:
Patryk Obara 2019-12-13 02:07:36 +01:00 committed by Patryk Obara
parent 3e6e97bf47
commit d035c2cbd9
3 changed files with 23 additions and 29 deletions

View file

@ -56,12 +56,6 @@ typedef struct SCtrl {
Bit8u vol[4]; // channel volume (0 to 255)
} TCtrl;
enum class MountType {
PHYSICAL_CD,
ISO_IMAGE,
DIRECTORY,
};
// Conversion function from frames to Minutes/Second/Frames
//
template<typename T>
@ -79,8 +73,6 @@ inline int msf_to_frames(int m, int s, int f) {
return m * 60 * REDBOOK_FRAMES_PER_SECOND + s * REDBOOK_FRAMES_PER_SECOND + f;
}
MountType CDROM_GetMountType(const char *path);
class CDROM_Interface
{
public: