mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-05 00:36:57 +00:00
Run SCI games :P
svn-id: r38224
This commit is contained in:
parent
61359f95bf
commit
7ec7c4399e
@ -221,13 +221,14 @@ main_()
|
||||
|
||||
init_console(); /* So we can get any output */
|
||||
|
||||
char startdir[MAXPATHLEN+1] = "";
|
||||
getcwd(startdir, MAXPATHLEN);
|
||||
script_debug_flag = 0;
|
||||
|
||||
sci_version_t version;
|
||||
int res_version;
|
||||
|
||||
// FIXME. An evil hack until File class will be used properly
|
||||
chdir(ConfMan.get("path").c_str());
|
||||
|
||||
detect_versions(&version, &res_version);
|
||||
|
||||
char resource_dir[MAXPATHLEN+1] = "";
|
||||
@ -243,8 +244,6 @@ main_()
|
||||
|
||||
script_adjust_opcode_formats(resmgr->sci_version);
|
||||
|
||||
chdir(startdir);
|
||||
|
||||
#if 0
|
||||
printf("Mapping instruments to General Midi\n");
|
||||
|
||||
@ -339,8 +338,6 @@ main_()
|
||||
|
||||
close_console_file();
|
||||
|
||||
chdir (startdir); /* ? */
|
||||
|
||||
gfxop_exit(&gfx_state);
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user