Re: PATCH: GetDevCaps() bitdepth flag

2006-03-18 Thread pagefault
On 3/18/06, Willie Sippel <[EMAIL PROTECTED]> wrote: > Am Samstag, 18. März 2006 07:59 schrieb pagefault: > > Updated again, this should be the final patch. Sorry for spamming. :) > > > This patch actually made it somewhat worse. Mirage shows the same bug as with > your previou

Re: PATCH: GetDevCaps() bitdepth flag

2006-03-17 Thread pagefault
Updated again, this should be the final patch. Sorry for spamming. :) On 3/18/06, pagefault <[EMAIL PROTECTED]> wrote: > Updated my patch. I had placed it in the wrong function, this is a lot > lower in the pipeline and should not conflict with other code. Please > test. > &g

Re: PATCH: GetDevCaps() bitdepth flag

2006-03-17 Thread pagefault
@@ } GDI_ReleaseObj( hdc ); } - -// Windows returns a 32-bit depth (24-bit effective) - -if (caps == BITSPIXEL && ret == 24) ret = 32; - return ret; } On 3/18/06, pagefault <[EMAIL PROTECTED]> wrote: > Ok, this is rather odd. Do those apps work properly

Re: PATCH: GetDevCaps() bitdepth flag

2006-03-17 Thread pagefault
Ok, this is rather odd. Do those apps work properly when the patch is not applied? Also do you know if these apps are using DirectDraw? On 3/18/06, pagefault <[EMAIL PROTECTED]> wrote: > Thanks for testing it out. I will try to get a copy of these apps and > figure out whats going on.

Re: PATCH: GetDevCaps() bitdepth flag

2006-03-17 Thread pagefault
Thanks for testing it out. I will try to get a copy of these apps and figure out whats going on. On 3/18/06, pagefault <[EMAIL PROTECTED]> wrote: > Thanks for testing it out. I will try to get a copy of these apps and > figure out whats going on. > > On 3/17/06, Willie Sippel

PATCH: GetDevCaps() bitdepth flag

2006-03-17 Thread pagefault
Hi there, I work on ZSNES and I was trying to get it working under wine and I ran into a small bug when running under a 32 bit desktop. This fixed a bug in the DeviceGetCaps() function used to return the current bitdepth of the desktop. It is my understanding that X11 returns "24" as the bitdepth