From: <ny...@us...> - 2006-07-04 14:39:51
|
Revision: 116 Author: nyaochi Date: 2006-07-04 07:39:38 -0700 (Tue, 04 Jul 2006) ViewCVS: http://svn.sourceforge.net/pmplib/?rev=116&view=rev Log Message: ----------- Supported iriver H10 [5GB/6GB] UMS firmware 2.53. Modified Paths: -------------- trunk/lib/pmp_portalplayer1/hdr_template.h trunk/lib/pmp_portalplayer1/model_iriver_h10.c trunk/lib/pmp_portalplayer1/pmp_portalplayer1.c Modified: trunk/lib/pmp_portalplayer1/hdr_template.h =================================================================== --- trunk/lib/pmp_portalplayer1/hdr_template.h 2006-07-03 19:10:22 UTC (rev 115) +++ trunk/lib/pmp_portalplayer1/hdr_template.h 2006-07-04 14:39:38 UTC (rev 116) @@ -59,7 +59,7 @@ int apply_template(hdr_t* hdr, const hdr_template_t* tmpl); int compare_version(const char *x, const char *y); -int hdr_init_h10_5gb_ums_0205_0252(hdr_t* hdr); +int hdr_init_h10_5gb_ums_0205_0253(hdr_t* hdr); int hdr_init_h10_5gb_mtp_0203_0210(hdr_t* hdr); int hdr_init_h10_5gb_mtp_0251(hdr_t* hdr); int hdr_init_h10_20gb_mtp_0100_0102(hdr_t* hdr); Modified: trunk/lib/pmp_portalplayer1/model_iriver_h10.c =================================================================== --- trunk/lib/pmp_portalplayer1/model_iriver_h10.c 2006-07-03 19:10:22 UTC (rev 115) +++ trunk/lib/pmp_portalplayer1/model_iriver_h10.c 2006-07-04 14:39:38 UTC (rev 116) @@ -273,17 +273,17 @@ {8, 12, 268, 524, 528, 608, 688, 768, 808, 812, 816, 820, 824, 828, 832, 836, 840, 844, 848, 852, 932, 936}; -/********** H10 5GB/6GB UMS firmware 2.05-2.52 **********/ -static hdr_template_t hdrtmpl_h10_5gb_ums_0205_0252 = { +/********** H10 5GB/6GB UMS firmware 2.05-2.53 **********/ +static hdr_template_t hdrtmpl_h10_5gb_ums_0205_0253 = { 0, 0, "System\\DATA\\H10DB.dat", 1, "System\\DATA\\H10DB.hdr", 0x00000428, 0, 0, 22, hdrtmpl_fd_h10_ums, hdrtmpl_max_dat_field_size_h10_ums, 0, 0, {206148, 22, 4000, 1032, 0, iriver_h10_dat_repr, iriver_h10_dat_set, iriver_h10_dat_get}, }; -int hdr_init_h10_5gb_ums_0205_0252(hdr_t* hdr) +int hdr_init_h10_5gb_ums_0205_0253(hdr_t* hdr) { - return apply_template(hdr, &hdrtmpl_h10_5gb_ums_0205_0252); + return apply_template(hdr, &hdrtmpl_h10_5gb_ums_0205_0253); } Modified: trunk/lib/pmp_portalplayer1/pmp_portalplayer1.c =================================================================== --- trunk/lib/pmp_portalplayer1/pmp_portalplayer1.c 2006-07-03 19:10:22 UTC (rev 115) +++ trunk/lib/pmp_portalplayer1/pmp_portalplayer1.c 2006-07-04 14:39:38 UTC (rev 116) @@ -64,12 +64,12 @@ static const pp1model_descriptor_t g_model_descriptions[] = { { - "iriver_h10_5/6gb_ums_2.04-2.52", "H10 5GB/6GB UMS", + "iriver_h10_5/6gb_ums_2.04-2.53", "H10 5GB/6GB UMS", 5, "UM", - "2.04", "2.52", + "2.04", "2.53", "System\\H10.mi4", "System\\DATA\\H10DB.hdr", "Media\\Music\\", "Media\\Playlist\\", ".plp", - hdr_init_h10_5gb_ums_0205_0252, iriver_h10_parse_model + hdr_init_h10_5gb_ums_0205_0253, iriver_h10_parse_model }, { "iriver_h10pure_5/6gb_ums_2.04-2.51", "H10Pure 5GB/6GB UMS", @@ -77,7 +77,7 @@ "2.04", "2.51", "System\\H10_5GP.mi4", "System\\DATA\\H10DB.hdr", "Media\\Music\\", "Media\\Playlist\\", ".plp", - hdr_init_h10_5gb_ums_0205_0252, iriver_h10_parse_model + hdr_init_h10_5gb_ums_0205_0253, iriver_h10_parse_model }, { "iriver_h10_5/6gb_mtp_2.03-2.10", "H10 5GB/6GB MTP", This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |