Use GetApplicationDirectory instead of GetWorkingDirectory for basePath if no path argument given.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user