Skip to content

Commit bc9195f

Browse files
committed
change for new pid script
Signed-off-by: Vincent-FK <[email protected]>
1 parent 77ccbc2 commit bc9195f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

RetroFE/Source/Execute/Launcher.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ bool Launcher::run(std::string collection, Item *collectionItem)
153153

154154
/* Restore stored PID */
155155
char shellCmd[20];
156-
sprintf(shellCmd, "%s %d", SHELL_CMD_RECORD_PID, getpid());
156+
sprintf(shellCmd, "%s %d", SHELL_CMD_PID_RECORD, getpid());
157157
Utils::executeRawPath((const char*)shellCmd);
158158

159159
/* Clean VT */

RetroFE/Source/Utility/Utils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
#define SHELL_CMD_ROOTFS_RW "rw"
2424
#define SHELL_CMD_ROOTFS_RO "ro"
25-
#define SHELL_CMD_RECORD_PID "record_pid"
25+
#define SHELL_CMD_PID_RECORD "pid record"
2626
#define SHELL_CMD_AUDIO_AMP_ON "audio_amp on"
2727
#define SHELL_CMD_AUDIO_AMP_OFF "audio_amp off"
2828
#define SHELL_CMD_MAPPING_ROM "keymap rom"

0 commit comments

Comments
 (0)