From: Jeremy Kerr Date: Tue, 8 Jan 2008 03:20:38 +0000 (+1100) Subject: Add define for boot-game-os binary X-Git-Tag: v1.0.0~962 X-Git-Url: https://git.ozlabs.org/?p=petitboot;a=commitdiff_plain;h=72fe1a737385d8f52c33fe237214c4e9cb3c7c93 Add define for boot-game-os binary Signed-off-by: Jeremy Kerr --- 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: