Settings Added

This commit is contained in:
mwalker33
2020-04-10 15:04:11 +10:00
parent 070636f196
commit 1b8b8f0128
5 changed files with 143 additions and 112 deletions

View File

@@ -582,10 +582,14 @@ int main(int argc, char *argv[]) {
set_my_executable_path();
set_my_user_directory();
// Settings Load and Test
// settings_load ();
// Load Settings and assign
// This will allow the command line to override the settings.json values
settings_load ();
// quick patch for debug level
g_debugMode = session.logging_level;
// settings_save ();
// printf ("Ver : %s\n",mySettings.version);
// End Settings
for (int i = 1; i < argc; i++) {