-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Turns out that the signal method I've been using this whole time must've been congested to the point that, at least with Flycast opting to do simultaneous outputs, it would cause QMamehook's input stream to be significantly delayed. So, instead of only checking when the socket is *disconnected*, we cut the signal entirely: putting the blocking function on while the socket is *connected*, then just run straight through until the socket's buffer is exhausted. Lather, rinse, repeat ad-nauseum until it can no longer read, which then prompts the socket abort function. This primarily fixes Flycast's outputs--namely Ninja Assault, if one decides to hook lamp7 to a gun ff device, but it should also make general QMamehook performance more consistent and feel less jittery overall, as this ensures no commands or read cycles are ever missed ever again. So I guess, thanks Flycast for being so weird???
- Loading branch information
Showing
2 changed files
with
25 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters