Andrew Nguyen anguyen@codeweavers.com writes:
@@ -1092,7 +1092,7 @@ static BOOL INT21_CreateFile( CONTEXT86 *context, winMode, winAttributes, 0 ); /* DOS allows to open files on a CDROM R/W */ if( winHandle == INVALID_HANDLE_VALUE &&
GetLastError()== ERROR_WRITE_PROTECT) {
GetLastError() == ERROR_ACCESS_DENIED) {
You should keep the old error too.