Make it possible to boot the OF and show verbose messages at the same time in the PP bootloaders.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12791 a1c6a512-1295-4272-9138-f99709370657
diff --git a/bootloader/main-pp.c b/bootloader/main-pp.c
index 0f85404..960e570 100644
--- a/bootloader/main-pp.c
+++ b/bootloader/main-pp.c
@@ -68,7 +68,7 @@
btn = button_read_device();
/* Enable bootloader messages */
- if (btn==BOOTLOADER_VERBOSE)
+ if (btn & BOOTLOADER_VERBOSE)
verbose = true;
lcd_setfont(FONT_SYSFIXED);
@@ -103,7 +103,7 @@
pinfo = disk_partinfo(0);
printf("Partition 0: 0x%02x %ld MB", pinfo->type, pinfo->size / 2048);
- if(btn==BOOTLOADER_BOOT_OF)
+ if(btn & BOOTLOADER_BOOT_OF)
{
/* Load original mi4 firmware. This expects a file called
"/System/OF.bin" on the player. It should be a mi4 firmware decrypted