libretro / RetroArch

Cross-platform, sophisticated frontend for the libretro API. Licensed GPLv3.
http://www.libretro.com
GNU General Public License v3.0
10.41k stars 1.84k forks source link

[3DS] Add in argument passing for *hax 2.5 shortcuts #2378

Closed shutterbug2000 closed 9 years ago

shutterbug2000 commented 9 years ago

With the new *hax 2.5 being able to pass arguements to a .3dsx, I thought it'd be a good idea to make it possible to have a shortcut to a game be possible, so we could have shortcuts to emulated games.

aliaspider commented 9 years ago

the arguments are specified in the xml or how does that work ? do you have an example ?

shutterbug2000 commented 9 years ago

In the eshop .xml, there is a category called that passes an argument.

shutterbug2000 commented 9 years ago

Wow, just realized it didn't post the tag. Let's try this again, without the tag.

less then arg greater then

That should work to pass an argument to a .3dsx

aliaspider commented 9 years ago

added in bf407606bc99ab87934e16f44d35cefd413d8184 works with both the shortcut and from 3dslink. only the fullpath to the content file is supported, adding more arguments will not work since the loader doesn't properly split them in an argv array when reading the shortcut .

fun fact: passing an argument to the 2048 core will make it work xD