forked from len0rd/rockbox
Fixed RoLo for H100 targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7188 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
6753fb5138
commit
aa1042286a
4 changed files with 7 additions and 7 deletions
|
@ -38,12 +38,6 @@
|
||||||
|
|
||||||
#define DRAM_START 0x31000000
|
#define DRAM_START 0x31000000
|
||||||
|
|
||||||
#ifdef IRIVER_H100
|
|
||||||
#define MODEL_NUMBER 1
|
|
||||||
#else
|
|
||||||
#define MODEL_NUMBER 0
|
|
||||||
#endif
|
|
||||||
|
|
||||||
int line = 0;
|
int line = 0;
|
||||||
|
|
||||||
int usb_screen(void)
|
int usb_screen(void)
|
||||||
|
|
|
@ -7,6 +7,9 @@
|
||||||
*/
|
*/
|
||||||
#define IRIVER_H100_SERIES 1
|
#define IRIVER_H100_SERIES 1
|
||||||
|
|
||||||
|
/* For Rolo and boot loader */
|
||||||
|
#define MODEL_NUMBER 1
|
||||||
|
|
||||||
/* define this if you have recording possibility */
|
/* define this if you have recording possibility */
|
||||||
/*#define HAVE_RECORDING 1*/
|
/*#define HAVE_RECORDING 1*/
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,9 @@
|
||||||
*/
|
*/
|
||||||
#define IRIVER_H100_SERIES 1
|
#define IRIVER_H100_SERIES 1
|
||||||
|
|
||||||
|
/* For Rolo and boot loader */
|
||||||
|
#define MODEL_NUMBER 0
|
||||||
|
|
||||||
/* define this if you have recording possibility */
|
/* define this if you have recording possibility */
|
||||||
/*#define HAVE_RECORDING 1*/
|
/*#define HAVE_RECORDING 1*/
|
||||||
|
|
||||||
|
|
|
@ -127,7 +127,7 @@ int rolo_load(const char* filename)
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
checksum = 0;
|
checksum = MODEL_NUMBER;
|
||||||
|
|
||||||
for(i = 0;i < length;i++) {
|
for(i = 0;i < length;i++) {
|
||||||
checksum += audiobuf[i];
|
checksum += audiobuf[i];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue