mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
Be friendlier when trying to but from empty DVD drives.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2422 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -36,9 +36,11 @@ private:
|
||||
|
||||
#ifdef _WIN32
|
||||
HANDLE hDisc;
|
||||
PREVENT_MEDIA_REMOVAL pmrLockCDROM;
|
||||
PREVENT_MEDIA_REMOVAL pmrLockCDROM;
|
||||
bool IsOK() {return hDisc != INVALID_HANDLE_VALUE;}
|
||||
#else
|
||||
FILE* file_;
|
||||
bool IsOK() {return file_ != 0;}
|
||||
#endif
|
||||
s64 size;
|
||||
u64 *block_pointers;
|
||||
|
Reference in New Issue
Block a user