X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=gp2x%2F940ctl.c;h=48ebfa033df494b25a757b352f7a4a0185e4c9db;hb=dfa4c846f44d3717288758b38d267d157858aaf7;hp=5c53761ed1fba1f29e9de1d56fc4b222d3f8b3b4;hpb=4dfd9f4230a2677501756b6121024593f1b37d86;p=libpicofe.git diff --git a/gp2x/940ctl.c b/gp2x/940ctl.c index 5c53761..48ebfa0 100644 --- a/gp2x/940ctl.c +++ b/gp2x/940ctl.c @@ -563,6 +563,12 @@ void mp3_start_play(FILE *f, int pos) // pos is 0-1023 if (loaded_mp3 != f) { // printf("loading mp3... "); fflush(stdout); + if (PicoMessage != NULL) + { + fseek(f, 0, SEEK_END); + if (ftell(f) > 2*1024*1024) + PicoMessage("Loading MP3..."); + } fseek(f, 0, SEEK_SET); fread(mp3_mem, 1, MP3_SIZE_MAX, f); // if (feof(f)) printf("done.\n");