- enable extended "read TOC" feature for Windows versions newer than XP (>= 5.1)
- TODO: move win32 specific cdrom stuff to a separate file
This commit is contained in:
parent
5dde2dc744
commit
a1b9a8e190
@ -510,7 +510,8 @@ cdrom_interface::cdrom_interface(const char *dev)
|
||||
bUseASPI = FALSE;
|
||||
osinfo.dwOSVersionInfoSize = sizeof(osinfo);
|
||||
GetVersionEx(&osinfo);
|
||||
isWindowsXP = (osinfo.dwMajorVersion >= 5) && (osinfo.dwMinorVersion >= 1);
|
||||
isWindowsXP = (osinfo.dwMajorVersion > 5) ||
|
||||
((osinfo.dwMajorVersion == 5) && (osinfo.dwMinorVersion >= 1));
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user