From 829e59b57eff642595cc5f32b6982fe8a9c6ae0f Mon Sep 17 00:00:00 2001 From: Vincent-FK Date: Wed, 28 Apr 2021 22:14:14 +0200 Subject: [PATCH] use single quote around keymap name Signed-off-by: Vincent-FK --- RetroFE/Source/Execute/Launcher.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 */