On Tue, 22 Dec 2020 21:34:34 +0100, Matteo Bruni wrote:
On Mon, Dec 21, 2020 at 2:44 PM Akihiro Sagawa <sagawa.aki(a)gmail.com> wrote:
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50373 Signed-off-by: Akihiro Sagawa <sagawa.aki(a)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? Yes, the file simply doesn't exist. It fails to load the specific .bmp file by D3DXCreateTextureFromFile and trys to load non-existent .dds/.png files next.
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. Just curiously, why is plain file loading better? Could it be that page boundaries?