Moved JS Init further to the beginning
This was SVN commit r622.
This commit is contained in:
parent
1fc404a12a
commit
baa374ae13
@ -600,6 +600,8 @@ PREVTSC=TSC;
|
||||
_control87(_PC_24, _MCW_PC);
|
||||
#endif
|
||||
|
||||
// Create the scripting host. This needs to be done before the GUI is created.
|
||||
new ScriptingHost;
|
||||
|
||||
detect();
|
||||
|
||||
@ -647,9 +649,6 @@ PREVTSC=TSC;
|
||||
|
||||
ParseArgs(argc, argv);
|
||||
|
||||
// Create the scripting host. This needs to be done before the GUI is created.
|
||||
new ScriptingHost;
|
||||
|
||||
// GUI is notified in set_vmode, so this must come before that.
|
||||
#ifndef NO_GUI
|
||||
new CGUI;
|
||||
|
Loading…
Reference in New Issue
Block a user