static void parse_gd3( byte const* in, byte const* end, track_info_t* out ) { in = get_gd3_pair( in, end, out->song ); in = get_gd3_pair( in, end, out->game ); in = get_gd3_pair( in, end, out->system ); in = get_gd3_pair( in, end, out->author ); in = get_gd3_str ( in, end, out->copyright ); in = get_gd3_pair( in, end, out->dumper ); in = get_gd3_str ( in, end, out->comment ); }
static void parse_gd3( byte const* in, byte const* end, struct mp3entry* id3 ) { char* p = id3->path; id3->title = (char *) in; in = get_gd3_pair( in, end, p ); /* Song */ id3->album = (char *) in; in = get_gd3_pair( in, end, p ); /* Game */ in = get_gd3_pair( in, end, NULL ); /* System */ id3->artist = (char *) in; in = get_gd3_pair( in, end, p ); /* Author */ #if MEMORYSIZE > 2 in = get_gd3_str ( in, end, NULL ); /* Copyright */ in = get_gd3_pair( in, end, NULL ); /* Dumper */ id3->comment = (char *) in; in = get_gd3_str ( in, end, p ); /* Comment */ #endif }