Use environment strings for settings.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@791
This commit is contained in:
parent
aea4169ddb
commit
ebaa08a204
1 changed files with 3 additions and 0 deletions
|
@ -18,6 +18,8 @@
|
|||
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "SDL.h"
|
||||
#include "SDL_thread.h"
|
||||
|
||||
|
@ -551,6 +553,7 @@ int main(int argc, char* argv[]) {
|
|||
}
|
||||
/* Parse the config file */
|
||||
control->ParseConfigFile(config_file.c_str());
|
||||
control->ParseEnv(environ);
|
||||
/* Init all the sections */
|
||||
control->Init();
|
||||
/* Some extra SDL Functions */
|
||||
|
|
Loading…
Add table
Reference in a new issue