[Bug 2792] MissionForce Cyberstorm not working
Wine Bugs
wine-bugs at winehq.org
Sun Jul 23 03:41:36 CDT 2006
http://bugs.winehq.org/show_bug.cgi?id=2792
xerox_xerox2000 at yahoo.co.uk changed:
What |Removed |Added
----------------------------------------------------------------------------
URL|http://appdb.winehq.org/appv|ftp://ftp.volftp.mondadori.c
|iew.php?appId=2100 |om/pub/pc/windows/win95/game
| |s/strategy/mfcsdemo.exe
Status|UNCONFIRMED |NEW
Component|wine-directx |wine-gdi-(printing)
Ever Confirmed| |1
Keywords| |download
------- Additional Comments From xerox_xerox2000 at yahoo.co.uk 2006-23-07 03:41 -------
Hi, i can confirm this bug. Looks like a bug in gdi32, not a direct-x bug. Just
before the messagebox there's a call to GetSystemPaletteEntries, that return 0.
Looks like the app is not happy with that. By hacking this value to 256, i was
able to start the game (just hit a few times escape and mouse click in the black
window, it seems to hang but it isn't) I'll attach a log.
Hack:
diff --git a/dlls/gdi/palette.c b/dlls/gdi/palette.c
index a0fc7d0..5b984c7 100644
--- a/dlls/gdi/palette.c
+++ b/dlls/gdi/palette.c
@@ -561,7 +561,7 @@ UINT WINAPI GetSystemPaletteEntries(
ret = dc->funcs->pGetSystemPaletteEntries( dc->physDev, start,
count, entries );
GDI_ReleaseObj( hdc );
}
- return ret;
+ return 256;//count;
}
Maybe someone who knows a bit of gdi32 (NOT ME ;)) could have a look at it.
--
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