notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
error checking for png
[picodrive.git]
/
Pico
/
cd
/
buffering.c
diff --git
a/Pico/cd/buffering.c
b/Pico/cd/buffering.c
index
205e777
..
826184b
100644
(file)
--- 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;
PICO_INTERNAL void PicoCDBufferRead(void *dest, int lba)
{
int is_bin, offs, read_len, moved = 0;