cia: Only save application path if running in 3dsx

This commit is contained in:
Joel16 2021-03-11 15:03:24 -05:00
parent d392626d62
commit 953be6ec15

View File

@ -86,8 +86,10 @@ namespace Services {
}
int main(int argc, char* argv[]) {
__application_path__ = argv[0];
__application_path__.erase(0, 5);
if (envIsHomebrew()) {
__application_path__ = argv[0];
__application_path__.erase(0, 5);
}
Services::Init();
GUI::Loop();