paolo-caroni / ps3mca-ps1

A program to read and write PS1 memory card with the Memory Card Adaptor CECHZM1 (SCPH-98042)
GNU General Public License v3.0
57 stars 10 forks source link

Fix Option Error Format String #9

Open hohle opened 1 month ago

hohle commented 1 month ago

Replaces the string specifier (%s) with the char specifier (%c) to fix a segfault when an invalid option was selected.

Also adds src/main.c as a dependency of the ps3mca-ps1 target so that make will rebuild when the source has changed.

paolo-caroni commented 1 month ago

Thanks for contribution, I will test it in the next week and then merge it, thankyou.