mirror of https://github.com/PCSX2/pcsx2.git
cdvdgigaherz: ifdef Windows specific stuff
This commit is contained in:
parent
1573f513ce
commit
363b581926
|
@ -16,9 +16,11 @@
|
||||||
#ifndef __CDVD_H__
|
#ifndef __CDVD_H__
|
||||||
#define __CDVD_H__
|
#define __CDVD_H__
|
||||||
|
|
||||||
|
#if defined(_WIN32)
|
||||||
#define _WIN32_WINNT 0x0600
|
#define _WIN32_WINNT 0x0600
|
||||||
#define NOMINMAX
|
#define NOMINMAX
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
@ -57,8 +59,10 @@ class IOCtlSrc
|
||||||
IOCtlSrc(const IOCtlSrc &) = delete;
|
IOCtlSrc(const IOCtlSrc &) = delete;
|
||||||
IOCtlSrc &operator=(const IOCtlSrc &) = delete;
|
IOCtlSrc &operator=(const IOCtlSrc &) = delete;
|
||||||
|
|
||||||
|
#if defined(_WIN32)
|
||||||
HANDLE m_device = INVALID_HANDLE_VALUE;
|
HANDLE m_device = INVALID_HANDLE_VALUE;
|
||||||
std::wstring m_filename;
|
std::wstring m_filename;
|
||||||
|
#endif
|
||||||
|
|
||||||
s32 m_media_type = 0;
|
s32 m_media_type = 0;
|
||||||
u32 m_sectors = 0;
|
u32 m_sectors = 0;
|
||||||
|
@ -90,7 +94,9 @@ void configure();
|
||||||
|
|
||||||
void ReadSettings();
|
void ReadSettings();
|
||||||
void WriteSettings();
|
void WriteSettings();
|
||||||
|
#if defined(_WIN32)
|
||||||
std::wstring GetValidDrive();
|
std::wstring GetValidDrive();
|
||||||
|
#endif
|
||||||
|
|
||||||
extern Settings g_settings;
|
extern Settings g_settings;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue