From 72fe1a737385d8f52c33fe237214c4e9cb3c7c93 Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Tue, 8 Jan 2008 14:20:38 +1100 Subject: [PATCH] Add define for boot-game-os binary Signed-off-by: Jeremy Kerr --- petitboot-paths.h | 1 + petitboot.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/petitboot-paths.h b/petitboot-paths.h index f8c5964..40ce557 100644 --- a/petitboot-paths.h +++ b/petitboot-paths.h @@ -16,6 +16,7 @@ #define PBOOT_DEVICE_SOCKET "/var/tmp/petitboot-dev" #define MOUNT_BIN "/bin/mount" #define UMOUNT_BIN "/bin/umount" +#define BOOT_GAMEOS_BIN "/usr/bin/ps3-boot-game-os" /* at present, all default artwork strings are const. */ #define artwork_pathname(s) (PKG_SHARE_DIR "/artwork/" s) diff --git a/petitboot.c b/petitboot.c index fc72fd8..0b6828b 100644 --- a/petitboot.c +++ b/petitboot.c @@ -791,7 +791,7 @@ twin_bool_t pboot_event_filter(twin_screen_t *screen, /* Another gross hack for booting back to gameos */ case KEY_BACKSPACE: case KEY_DELETE: - system("boot-game-os"); + system(BOOT_GAMEOS_BIN); pboot_quit(); } case TwinEventKeyUp: -- 2.39.2