diff --git a/RetroFE/Source/Execute/Launcher.cpp b/RetroFE/Source/Execute/Launcher.cpp index c9628df..14b1613 100755 --- a/RetroFE/Source/Execute/Launcher.cpp +++ b/RetroFE/Source/Execute/Launcher.cpp @@ -122,10 +122,10 @@ bool Launcher::run(std::string collection, Item *collectionItem) /* Create shell cmd */ std::string cmd = SHELL_CMD_MAPPING_ROM; - cmd += " \"" + selectedItemsPath + "\""; + cmd += " '" + selectedItemsPath + "'"; /* Log shell cmd */ - Logger::write(Logger::ZONE_INFO, "Launcher", "Applying keymap rom: " + selectedItemsPath); + Logger::write(Logger::ZONE_INFO, "Launcher", "Applying keymap rom: \"" + selectedItemsPath + "\""); printf("Applying keymap rom cmd: \"%s\"\n", cmd.c_str()); /* Launch shell cmd */