[Bug 23490] New: Final Fantasy VII hangs in IDirectInputDevice::GetDeviceState loop

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Jul 3 13:44:30 CDT 2010


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

           Summary: Final Fantasy VII hangs in
                    IDirectInputDevice::GetDeviceState loop
           Product: Wine
           Version: 1.2-rc2
          Platform: x86
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: -unknown
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: ewfewfe at wh4f.org


This problem is probably not only with Final Fantasy VII but that's the only
affected application I know of. Basically, the normal flow of the game has a
message loop like any other with translatemessage/dispatchmessage etc. However,
sometimes it goes into a loop which doesn't handle window messages and this is
where the problem appears, suddenly it doesn't see any input anymore and you
can't do anything but kill the application. I traced the input routines and
found that the game uses GetDeviceState for keyboard input, I can only guess
that this is not updating if no messages are being processed, I haven't
actually run it through a debugger to check. In windows this works fine of
course, input is recognized as usual and the game does not hang. An easy way to
trigger this is to try to quit the game from the ingame menu, a confirmation
dialog appears and the game is still running but you can't do anything.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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.



More information about the wine-bugs mailing list