And even more bug fixes in 86box.c, to fix the mess I accidentally created in the previous commit.
This commit is contained in:
@@ -620,7 +620,8 @@ usage:
|
|||||||
|
|
||||||
/* Make sure we have a trailing backslash. */
|
/* Make sure we have a trailing backslash. */
|
||||||
plat_path_slash(usr_path);
|
plat_path_slash(usr_path);
|
||||||
plat_path_slash(rom_path);
|
if (rom_path[0] != '\0')
|
||||||
|
plat_path_slash(rom_path);
|
||||||
|
|
||||||
/* At this point, we can safely create the full path name. */
|
/* At this point, we can safely create the full path name. */
|
||||||
plat_append_filename(cfg_path, usr_path, p);
|
plat_append_filename(cfg_path, usr_path, p);
|
||||||
@@ -653,7 +654,7 @@ usage:
|
|||||||
if (rom_path[0] != '\0')
|
if (rom_path[0] != '\0')
|
||||||
pclog("# ROM path: %s\n", rom_path);
|
pclog("# ROM path: %s\n", rom_path);
|
||||||
else
|
else
|
||||||
pclog("# ROM path: %sroms\\\n", usr_path);
|
pclog("# ROM path: %sroms\\\n", exe_path);
|
||||||
pclog("# Configuration file: %s\n#\n\n", cfg_path);
|
pclog("# Configuration file: %s\n#\n\n", cfg_path);
|
||||||
/*
|
/*
|
||||||
* We are about to read the configuration file, which MAY
|
* We are about to read the configuration file, which MAY
|
||||||
|
Reference in New Issue
Block a user