Rockbox Development > Starting Development and Compiling
IPOD 80GB 5.5 gen. Rockbox 3.0.x own build with album art etc.
UserN1:
--- Quote from: saratoga on November 11, 2008, 10:05:21 AM ---What is your question?
--- End quote ---
Is here someone, who could make JPEG decoder patch? I cannot >:(
(http://forums.rockbox.org/index.php?topic=19065.0)
Can someone tell me, where is the problem at line 13 (at the picture)
saratoga:
--- Quote from: UserN1 on November 11, 2008, 03:12:38 PM ---Is here someone, who could make JPEG decoder patch? I cannot >:(
--- End quote ---
If anyone is working on this, they haven't said anything about it.
--- Quote from: UserN1 on November 11, 2008, 03:12:38 PM ---Can someone tell me, where is the problem at line 13 (at the picture)
--- End quote ---
No because you didn't post line 13.
UserN1:
Index: apps/misc.c
===================================================================
--- apps/misc.c (revision 0)
+++ apps/misc.c (revision 0)
@@ -609,7 +609,7 @@
+/***************************************************************************
+ * __________ __ ___.
+ * Open \______ \ ____ ____ | | _\_ |__ _______ ___
+ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
+ * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
+ * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
+ * \/ \/ \/ \/ \/
+ * $Id: misc.c 18960 2008-11-01 16:14:28Z gevaerts $
+ *
+ * Copyright (C) 2002 by Daniel Stenberg
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ ****************************************************************************/
+
int font_h, font_w;
lcd_clear_display();
- lcd_bitmap(rockboxlogo, 0, 10, BMPWIDTH_rockboxlogo, BMPHEIGHT_rockboxlogo);
+ lcd_bitmap(rockboxlogo, 0, 0, BMPWIDTH_rockboxlogo, BMPHEIGHT_rockboxlogo);
#ifdef HAVE_REMOTE_LCD
lcd_remote_clear_display();
@@ -620,8 +620,8 @@
snprintf(version, sizeof(version), "Ver. %s", appsversion);
lcd_setfont(FONT_SYSFIXED);
lcd_getstringsize((unsigned char *)"A", &font_w, &font_h);
- lcd_putsxy((LCD_WIDTH/2) - ((strlen(version)*font_w)/2),
- LCD_HEIGHT-font_h, (unsigned char *)version);
+ //lcd_putsxy((LCD_WIDTH/2) - ((strlen(version)*font_w)/2),
+ // LCD_HEIGHT-font_h, (unsigned char *)version);
lcd_update();
#ifdef HAVE_REMOTE_LCD
saratoga:
That diff doesn't really make any sense, so yeah, its not going to work if you feed it to patch. The headers and the actual changes don't agree, and the changes don't corrispond to code in rockbox to patch. However, since I guess the intent was to comment out 2 lines of code and delete a "1", maybe you could just make the changes directly to misc.c?
Navigation
[0] Message Index
[*] Previous page
Go to full version