X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Pico%2Fcd%2Fbuffering.c;h=826184b5284d46631621d55cb492b530410697de;hb=eaa9417a9b52389534f0dcbae6263781ea809ab2;hp=205e7777dcdd95f5cc5d3e7d5a633e19d8e51108;hpb=c6196c0f0108d27df27d576ece320b3ec5705bb3;p=picodrive.git diff --git a/Pico/cd/buffering.c b/Pico/cd/buffering.c index 205e777..826184b 100644 --- a/Pico/cd/buffering.c +++ b/Pico/cd/buffering.c @@ -47,7 +47,13 @@ void PicoCDBufferFree(void) } -/* this is a try to fight slow SD access of GP2X */ +void PicoCDBufferFlush(void) +{ + prev_lba = 0x80000000; +} + + +/* this is was a try to fight slow SD access of GP2X */ PICO_INTERNAL void PicoCDBufferRead(void *dest, int lba) { int is_bin, offs, read_len, moved = 0;