Closed LRFLEW closed 2 years ago
I would propose coreinit/launch.h
instead of relaunch.h
as there as serveral other launch functions in coreinit.rpl e.g.
OSLaunchTitleByPathl
OSLaunchTitleByPathv
OSLaunchTitlel
OSLaunchTitlev
That makes sense to me, so I went ahead and made the change. I didn't add those functions to it because I don't know what the function signatures should look like.
This one is pretty simple.
OSForceFullRelaunch()
followed bySYSLaunchMenu()
is a common function pairing from what I can tell. For example, the Haxchi installer calls this pair of functions just before closing if a title has been patched.SYSLaunchMenu()
is already declared in include/sysapp/launch.h, soOSForceFullRelaunch()
should probably be included as well.I wasn't sure where best to add this function. I knew it should go somewhere in include/coreinit, but I couldn't find an appropriate file to add it to. In the end, I opted to add it to a new header file on its own for now, as that seemed like the best option. If there's a better place to put this, let me know and I can update this.