Commit f0dd3100 authored by Christian Costa's avatar Christian Costa Committed by Alexandre Julliard

d3drm: Fix return error code.

parent 871aa9d1
...@@ -1541,7 +1541,7 @@ static HRESULT WINAPI IDirect3DRM3Impl_Load(IDirect3DRM3* iface, LPVOID ObjSourc ...@@ -1541,7 +1541,7 @@ static HRESULT WINAPI IDirect3DRM3Impl_Load(IDirect3DRM3* iface, LPVOID ObjSourc
} }
else if (hr != DXFILE_OK) else if (hr != DXFILE_OK)
{ {
ret = D3DRMERR_NOTFOUND; ret = D3DRMERR_BADFILE;
goto end; goto end;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment