From 5bab1a14f35a7714dbb5102a127d782bb7a152db Mon Sep 17 00:00:00 2001 From: rogerman Date: Sun, 15 Mar 2015 22:40:29 +0000 Subject: [PATCH] Windows Port: - Fix bug where using the 5xBRZ filter through the DirectDraw HW/SW display method would cause a crash. (Fixes bug #1444.) --- desmume/src/windows/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/desmume/src/windows/main.cpp b/desmume/src/windows/main.cpp index efb5a19d3..6008f4d82 100644 --- a/desmume/src/windows/main.cpp +++ b/desmume/src/windows/main.cpp @@ -7309,8 +7309,8 @@ bool DDRAW::createSurfaces(HWND hwnd) else surfDescBack.ddsCaps.dwCaps |= DDSCAPS_VIDEOMEMORY; - surfDescBack.dwWidth = 384 * 4; - surfDescBack.dwHeight = 384 * 4; + surfDescBack.dwWidth = 384 * 5; + surfDescBack.dwHeight = 384 * 5; if (FAILED(handle->CreateSurface(&surfDescBack, &surface.back, NULL))) return false; if (FAILED(handle->CreateClipper(0, &clip, NULL))) return false;