Use GetApplicationDirectory instead of GetWorkingDirectory for basePath if no path argument given.

This commit is contained in:
jussi
2024-05-20 15:45:31 +03:00
parent e84be85254
commit 9edaf7a47b
9 changed files with 25 additions and 23 deletions

View File

@@ -5,7 +5,7 @@
#endif
typedef struct {
char* exePath;
char* basePath;
bool hasWindow;
bool run;
bool gcUnload;
@@ -45,6 +45,6 @@ typedef struct {
extern State* state;
bool stateInit( int argn, const char** argc, const char* exePath );
bool stateInit( int argn, const char** argc, const char* basePath );
void stateInitInterpret( int argn, const char** argc );
void stateFree();