-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Flycast (at least standalone) uses a different start syntax, which breaks everything since it then tries to load values into a config/settings map that doesn't exist. Check for its super-duper-special "game" marker alongside normal "mame_start" as a start message. Added contingency if a new gameStart command is found WHILE a game is loaded, and if a MAME network session is disconnected without a gameStart signal being sent. (Technically the first is supposed to be if Flycast send a new command, but now it'll just stick to the same game if it switches - Sorry, but I consider this a bug on Flycast's behalf, as it gives no other reasonable expectation for knowing that a session is closed, which is how it SHOULD be.) Also serves as a perfect excuse to clean things up a bit, make buffer comparisons more efficient without having to go through the start command bollocks even when in-game. Flycast's output is pretty scuffed in general tbh. And nothing about it seems to indicate supporting gun force feedback, so maybe this endeavour's kinda pointless lol...
- Loading branch information
Showing
2 changed files
with
125 additions
and
98 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