Closed ian-h-chamberlain closed 2 years ago
With 3dslink and the hbmenu there is builtin support for passing argv directly to a 3dsx binary. This enables reading them instead of the stub implementation used by espidf.
3dslink
espidf
Example, with this patch and latest version of 3dslink and hbmenu:
hbmenu
//... println!("{:?}", std::env::args().collect::<Vec<_>>()); //...
3dslink target/armv6k-nintendo-3ds/debug/examples/hello-world.3dsx -0 hello-world -- --x -y z
@Meziu @AzureMarker
Oh nice, this also works towards enabling stack overflow protection in main (the stackoverflow imp module is still a no-op).
imp
With
3dslink
and the hbmenu there is builtin support for passing argv directly to a 3dsx binary. This enables reading them instead of the stub implementation used byespidf
.Example, with this patch and latest version of
3dslink
andhbmenu
:@Meziu @AzureMarker