https://bugs.winehq.org/show_bug.cgi?id=47098
Bug ID: 47098 Summary: The Superlatives: Shattered Worlds Demo (from Steam) crashes on exit inside UnRegisterDeviceNotification Product: Wine Version: 4.7 Hardware: x86 URL: https://store.steampowered.com/app/1050210/The_Superla tives_Shattered_Worlds/ OS: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: user32 Assignee: wine-bugs@winehq.org Reporter: xerox.xerox2000x@gmail.com Distribution: Debian
Created attachment 64296 --> https://bugs.winehq.org/attachment.cgi?id=64296 crashlog
On exit (closing the game) i get the crash from the attached crashlog. Patch below is a fix. Demo is free to download.
Note: the games itsself sometimes starts, sometimes hangs with a blank screen. That might be another bug, but could also be a problem on my side (graphics driver?). Anyway, just trying it a few times gets me into the game eventually...
diff --git a/dlls/user32/misc.c b/dlls/user32/misc.c index bd4795a346..6ff0980ecd 100644 --- a/dlls/user32/misc.c +++ b/dlls/user32/misc.c @@ -404,7 +404,7 @@ HDEVNOTIFY WINAPI DECLSPEC_HOTPATCH RegisterDeviceNotificationW(HANDLE hRecipien * UnregisterDeviceNotification (USER32.@) * */ -BOOL WINAPI UnregisterDeviceNotification(HDEVNOTIFY hnd) +BOOL WINAPI DECLSPEC_HOTPATCH UnregisterDeviceNotification(HDEVNOTIFY hnd) { FIXME("(handle=%p), STUB!\n", hnd); return TRUE;