dangiu / PicoMemcard

Emulating PSX Memory Card (or controller) using a Raspberry Pi Pico
GNU General Public License v3.0
528 stars 38 forks source link

Add ability to receive GameID #54

Closed realJoshByrnes closed 1 year ago

realJoshByrnes commented 1 year ago

I'm going to preface this by saying I'm not sure I fully understand how the timings work on PicoMemCard, so I may be sending data back incorrectly.

This PR introduces the ability to see the GameID provided by Unirom/BIOS (Patched)/XStation/PSIO At present, it just outputs to console, but would be good for automation (card switching, or removing card once UNIROM etc. is loaded) It would also assist with autoboot as per #8

The game is now printed to console as follows

Game ID: UNIROM
Game ID: cdrom:\SLES_036.45;1

Usually, games will follow the full format, UNIROM is an exception.