diff --git a/RetroFE/Source/Execute/Launcher.cpp b/RetroFE/Source/Execute/Launcher.cpp index 242af40..83a29ae 100755 --- a/RetroFE/Source/Execute/Launcher.cpp +++ b/RetroFE/Source/Execute/Launcher.cpp @@ -153,7 +153,7 @@ bool Launcher::run(std::string collection, Item *collectionItem) /* Restore stored PID */ char shellCmd[20]; - sprintf(shellCmd, "%s %d", SHELL_CMD_RECORD_PID, getpid()); + sprintf(shellCmd, "%s %d", SHELL_CMD_PID_RECORD, getpid()); Utils::executeRawPath((const char*)shellCmd); /* Clean VT */ diff --git a/RetroFE/Source/Utility/Utils.h b/RetroFE/Source/Utility/Utils.h index 111ff38..7bc43ea 100755 --- a/RetroFE/Source/Utility/Utils.h +++ b/RetroFE/Source/Utility/Utils.h @@ -22,7 +22,7 @@ #define SHELL_CMD_ROOTFS_RW "rw" #define SHELL_CMD_ROOTFS_RO "ro" -#define SHELL_CMD_RECORD_PID "record_pid" +#define SHELL_CMD_PID_RECORD "pid record" #define SHELL_CMD_AUDIO_AMP_ON "audio_amp on" #define SHELL_CMD_AUDIO_AMP_OFF "audio_amp off" #define SHELL_CMD_MAPPING_ROM "keymap rom"