https://bugs.winehq.org/show_bug.cgi?id=48364
Bug ID: 48364 Summary: Clifford Thinking Adventures fails to start in some configurations Product: Wine Version: 5.0-rc2 Hardware: x86 OS: Linux Status: NEW Keywords: patch Severity: normal Priority: P2 Component: gdi32 Assignee: wine-bugs@winehq.org Reporter: z.figura12@gmail.com Distribution: ---
Created attachment 66108 --> https://bugs.winehq.org/attachment.cgi?id=66108 gdi32: Return the current display frequency from GetDeviceCaps(VREFRESH).
It spews out a message box saying: "This program cannot be run with your current monitor settings. Please reset your monitor to a minimum of 256 colors before running Clifford."
In fact an 8-bit display device isn't necessary. What is necessary is for EnumDisplaySettings() to return at least one device with a refresh rate equal to the number returned by GetDeviceCaps(VREFRESH). Under normal circumstances the latter returns 1, but the former may return e.g. 60.
The attached patch fixes this, and makes the game completely playable for me.