mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-29 09:35:39 +00:00
(Windows) Fixed a cosmetic log output issue when loading the game systems.
This commit is contained in:
parent
a7ed75b18c
commit
9be90fa39a
|
@ -256,7 +256,11 @@ bool SystemData::loadConfig()
|
||||||
// the ROM path configured as ROMDirectory in es_settings.cfg. If it's set to ""
|
// the ROM path configured as ROMDirectory in es_settings.cfg. If it's set to ""
|
||||||
// in this configuration file, the default hardcoded path $HOME/ROMs/ will be used.
|
// in this configuration file, the default hardcoded path $HOME/ROMs/ will be used.
|
||||||
path = Utils::String::replace(path, "%ROMPATH%", rompath);
|
path = Utils::String::replace(path, "%ROMPATH%", rompath);
|
||||||
|
#if defined(_WIN64)
|
||||||
|
path = Utils::String::replace(path, "\\", "/");
|
||||||
|
#else
|
||||||
path = Utils::String::replace(path, "//", "/");
|
path = Utils::String::replace(path, "//", "/");
|
||||||
|
#endif
|
||||||
|
|
||||||
// Check that the ROM directory for the system is valid or otherwise abort the processing.
|
// Check that the ROM directory for the system is valid or otherwise abort the processing.
|
||||||
if (!Utils::FileSystem::exists(path)) {
|
if (!Utils::FileSystem::exists(path)) {
|
||||||
|
|
Loading…
Reference in a new issue