[Bug 8576] New: Make Runaway2 Runs

Wine Bugs wine-bugs at winehq.org
Sun Jun 3 02:49:29 CDT 2007


http://bugs.winehq.org/show_bug.cgi?id=8576

           Summary: Make Runaway2 Runs
           Product: Wine
           Version: 0.9.38.
          Platform: Other
        OS/Version: other
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: wine-directx-d3d
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: thedukeforever2005 at gmail.com


When starting Runaway 2, it throws an exception (problem with DDraw), it doesn't
return a valid pixelformat, so, this little patch could fix this:
under "src/dlls/ddraw/utils.c" --> function: PixelFormat_DD2WineD3D --> case:16
--> add:"if( (DDPixelFormat->u2.dwRBitMask == 0xF800) &&
                    (DDPixelFormat->u3.dwGBitMask == 0x001F) &&
                    (DDPixelFormat->u4.dwBBitMask == 0x0)    )
                {
                    return WINED3DFMT_R5G6B5;
                }"
Note: I'm not the one how made this patch, i think it's an ubuntu user, he
didn't commit it, so i did.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list