Added envHasNextLoad().

This commit is contained in:
yellows8 2018-01-20 18:25:35 -05:00
parent 200240f328
commit cd881bbc0e
2 changed files with 5 additions and 0 deletions

View File

@ -47,3 +47,4 @@ Handle envGetOwnProcessHandle(void);
LoaderReturnFn envGetExitFuncPtr(void);
Result envSetNextLoad(const char* path, const char* argv);
bool envHasNextLoad(void);

View File

@ -161,3 +161,7 @@ Result envSetNextLoad(const char* path, const char* argv)
return 0;
}
bool envHasNextLoad(void) {
return g_nextLoadPath != NULL;
}