d3drm: Fix return error code.

This commit is contained in:
Christian Costa 2012-12-17 10:11:51 +01:00 committed by Alexandre Julliard
parent 871aa9d14d
commit f0dd310018
1 changed files with 1 additions and 1 deletions

View File

@ -1541,7 +1541,7 @@ static HRESULT WINAPI IDirect3DRM3Impl_Load(IDirect3DRM3* iface, LPVOID ObjSourc
}
else if (hr != DXFILE_OK)
{
ret = D3DRMERR_NOTFOUND;
ret = D3DRMERR_BADFILE;
goto end;
}