diff --git a/ddraw.dll b/ddraw.dll index d813362..ab8f013 100644 Binary files a/ddraw.dll and b/ddraw.dll differ diff --git a/main.c b/main.c index 4d978cb..839b2c3 100644 --- a/main.c +++ b/main.c @@ -806,8 +806,8 @@ HRESULT WINAPI DirectDrawCreate(GUID FAR* lpGUID, LPDIRECTDRAW FAR* lplpDD, IUnk This->render.maxfps = GetPrivateProfileIntA("ddraw", "max_fps", 120, SettingsIniPath); This->render.width = GetPrivateProfileIntA("ddraw", "width", 0, SettingsIniPath); This->render.height = GetPrivateProfileIntA("ddraw", "height", 0, SettingsIniPath); - WindowPosX = GetPrivateProfileIntA("ddraw", "posX", 0, SettingsIniPath); - WindowPosY = GetPrivateProfileIntA("ddraw", "posY", 0, SettingsIniPath); + WindowPosX = GetPrivateProfileIntA("ddraw", "posX", -1, SettingsIniPath); + WindowPosY = GetPrivateProfileIntA("ddraw", "posY", -1, SettingsIniPath); This->render.bpp = GetPrivateProfileIntA("ddraw", "bpp", 32, SettingsIniPath); if (This->render.bpp != 16 && This->render.bpp != 24 && This->render.bpp != 32)