djhackersdev / bemanitools

Runs recent Konami arcade games and emulates various arcade hardware.
The Unlicense
77 stars 15 forks source link

P3IO emu bugfix, fixes ddrhook1 crashing on startup #274

Closed icex2 closed 7 months ago

icex2 commented 7 months ago

Related issue: #270

Using ddrhook1, this caused DDR X to crash on startup when the P3io client sends the currently unknown command 2B. Handling it with the incorrect p3io command struct, any following reading attempts from the P3IO by the game fail.

Handle the 2B case explicitly with a generic response that worked previously before the restructuring of the code. Apply the same to any further unknown commands with improved logging warning about this.

icex2 commented 7 months ago

Remark: This should fix boot issues on all games using the p3io currently, e.g. all DDR games.

icex2 commented 7 months ago

Review and approval in internal dev chat.