From 9edaf7a47b02bd351c400f0c6aec517884449551 Mon Sep 17 00:00:00 2001 From: jussi Date: Mon, 20 May 2024 15:45:31 +0300 Subject: Use GetApplicationDirectory instead of GetWorkingDirectory for basePath if no path argument given. --- include/state.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/state.h b/include/state.h index 63ab870..016e1bc 100644 --- a/include/state.h +++ b/include/state.h @@ -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(); -- cgit v1.2.3