And even more bug fixes in 86box.c, to fix the mess I accidentally created in the previous commit.

This commit is contained in:
OBattler
2021-09-02 23:20:57 +02:00
parent 3b3d863ed0
commit 024083fd99

View File

@@ -620,7 +620,8 @@ usage:
/* Make sure we have a trailing backslash. */
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. */
plat_append_filename(cfg_path, usr_path, p);
@@ -653,7 +654,7 @@ usage:
if (rom_path[0] != '\0')
pclog("# ROM path: %s\n", rom_path);
else
pclog("# ROM path: %sroms\\\n", usr_path);
pclog("# ROM path: %sroms\\\n", exe_path);
pclog("# Configuration file: %s\n#\n\n", cfg_path);
/*
* We are about to read the configuration file, which MAY