From bc9195fb06a61b691245cd90dec337b7c45338ca Mon Sep 17 00:00:00 2001 From: Vincent-FK Date: Sat, 15 May 2021 23:44:50 +0200 Subject: [PATCH] change for new pid script Signed-off-by: Vincent-FK --- RetroFE/Source/Execute/Launcher.cpp | 2 +- RetroFE/Source/Utility/Utils.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"