Skip to content

Commit

Permalink
Merge pull request #153 from JayFoxRox/gog-16bpp
Browse files Browse the repository at this point in the history
Switch to 16bpp display mode to support GOG.com version 1.0 hotfix2
  • Loading branch information
JayFoxRox authored May 10, 2018
2 parents 37dfcee + 9717b86 commit 89d1820
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1982,7 +1982,7 @@ HACKY_COM_BEGIN(IDirectDraw4, 8)
Address descAddress = Allocate(sizeof(API(DDSURFACEDESC2)));
API(DDSURFACEDESC2)* desc = Memory(descAddress);
desc->ddpfPixelFormat.dwFlags = API(DDPF_RGB);
desc->ddpfPixelFormat.dwRGBBitCount = 24;
desc->ddpfPixelFormat.dwRGBBitCount = 16;
desc->dwWidth = 640;
desc->dwHeight = 480;
desc->lpSurface = 0x01010101;
Expand Down

0 comments on commit 89d1820

Please sign in to comment.