[PATCH] d3dx9: Avoid closing invalid handles.

Matteo Bruni matteo.mystral at gmail.com
Tue Dec 22 14:34:34 CST 2020


On Mon, Dec 21, 2020 at 2:44 PM Akihiro Sagawa <sagawa.aki at gmail.com> wrote:
>
>
> Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50373
> Signed-off-by: Akihiro Sagawa <sagawa.aki at gmail.com>
> ---
>  dlls/d3dx9_36/util.c | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
>

Do you know why it fails to map the file in the first place? Maybe it
simply doesn't exist?

FWIW I'd like to eventually replace map_view_of_file() entirely with
plain file loading, i.e. ReadFile and such. That's something for after
the code freeze though.



More information about the wine-devel mailing list