#513 probable bug in CCDexApp::LoadCDRipLibrary

open
nobody
Core (22)
5
2010-06-13
2010-06-13
Robert Pyron
No

File Cdex.cpp, function CCDexApp::LoadCDRipLibrary, at or near line 223:
if ( IsWindowsNTOS() && ( TRANSPLAYER_NTSCSI != (const int)CR_GetTransportLayer ) )

should probably be:
if ( IsWindowsNTOS() && ( TRANSPLAYER_NTSCSI != (const int)CR_GetTransportLayer() ) )

I doubt that the address of the function will ever be 1 :-( It's more likely that the intent is to compare a transport layer constant against the return from the function.

Discussion