// TODO: assert != NULL\r
\r
if( cl_geckoembedding == NULL ) {\r
+ char profile_path [MAX_OSPATH];\r
+\r
OSGK_EmbeddingOptions *options = osgk_embedding_options_create();\r
osgk_embedding_options_add_search_path( options, "./xulrunner/" );\r
+ dpsnprintf (profile_path, sizeof (profile_path), "%s/xulrunner_profile/", fs_gamedir);\r
+ osgk_embedding_options_set_profile_dir( options, profile_path, 0 );\r
cl_geckoembedding = osgk_embedding_create_with_options( options, NULL );\r
osgk_release( options );\r
\r