X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Pico%2Fcd%2Fbuffering.c;fp=Pico%2Fcd%2Fbuffering.c;h=826184b5284d46631621d55cb492b530410697de;hb=c9e1affca5438353fdb156fb07a747af83251e14;hp=205e7777dcdd95f5cc5d3e7d5a633e19d8e51108;hpb=9037e45d9f2752fdd6ebbc01328148839403a84f;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;