spleen1981 / retroarch-kodi-addon-CoreELEC

RetroArch KODI add-on for CoreELEC
51 stars 5 forks source link

Pass cmdline arguments to retroarch.sh, and dont run with option --menu #3

Closed hbiyik closed 2 years ago

hbiyik commented 2 years ago

This PR allows retroarch.sh to accept cmdline arguments and pass it to the actual binary. Also disables to run --menu option since when called with a specific core and rom as cmdline argument, --menu option causes segfault.

Woth this modification it is now possible to use this addon as an external launcher to the IAGL addon. IAGL calls the retroarch.sh as below:

/path/to/retroarch.sh /path/to/core.so /path/to/rom.zip