void PicoCDBufferInit(void)
{
- void *tmp;
+ void *tmp = NULL;
prev_lba = 0x80000000;
hits = reads = 0;
}
-/* 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;