Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

zip: rename modts field to mtime

This brings it more in line with other structs with this exact same data
type and usage.

Change-Id: I5fe8564750ef28ccd0b12efedca2e6958369f712

authored by

James Buren and committed by
William Wilgus
a1bcca64 6c084ac3

+3 -3
+2 -2
firmware/common/zip.c
··· 305 305 306 306 args->entry = i + 1; 307 307 args->file_size = cd->uncompressed_size; 308 - args->modts = dostime_mktime(letoh16(cdd->date), letoh16(cdd->time)); 308 + args->mtime = dostime_mktime(letoh16(cdd->date), letoh16(cdd->time)); 309 309 310 310 memcpy(lf->name, mem, name_length); 311 311 lf->name[name_length] = '\0'; ··· 426 426 427 427 args->entry = i + 1; 428 428 args->file_size = lf->uncompressed_size; 429 - args->modts = dostime_mktime(lf->date, lf->time); 429 + args->mtime = dostime_mktime(lf->date, lf->time); 430 430 args->block = NULL; 431 431 args->block_size = 0; 432 432 args->read_size = 0;
+1 -1
firmware/include/zip.h
··· 40 40 uint16_t entries; 41 41 char* name; 42 42 uint32_t file_size; 43 - time_t modts; 43 + time_t mtime; 44 44 void* block; 45 45 uint32_t block_size; 46 46 uint32_t read_size;