[Bug 48364] New: Clifford Thinking Adventures fails to start in some configurations
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(a)winehq.org Reporter: z.figura12(a)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. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=48364 Zebediah Figura <z.figura12(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Clifford Thinking |Clifford Thinking |Adventures fails to start |Adventures fails to start: |in some configurations |"This program cannot be run | |with your current monitor | |settings." -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=48364 Zhiyi Zhang <zzhang(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zzhang(a)codeweavers.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=48364 --- Comment #1 from Zhiyi Zhang <zzhang(a)codeweavers.com> --- Looks good to me. There is one small problem though. The DC could be from a device other than the primary adapter. But Wine currently create DCs covering the whole virtual screen regardless of the specified device, so we could worry about it later. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=48364 --- Comment #2 from Zebediah Figura <z.figura12(a)gmail.com> --- (In reply to Zhiyi Zhang from comment #1)
Looks good to me. There is one small problem though. The DC could be from a device other than the primary adapter. But Wine currently create DCs covering the whole virtual screen regardless of the specified device, so we could worry about it later.
I figured so, yeah. But our implementation of e.g. HORZRES also is indiscriminate in that respect, so I figured I should just follow that example. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla