-// Buffering handling
-// (c) Copyright 2007, Grazvydas "notaz" Ignotas
+/*
+ * Buffering handling
+ * (C) notaz, 2007,2008
+ *
+ * This work is licensed under the terms of MAME license.
+ * See COPYING file in the top-level directory.
+ */
#include "../pico_int.h"
static int hits, reads;
+#undef dprintf
+#define dprintf(...)
void PicoCDBufferInit(void)
{
if (is_bin)
{
int i = 0;
-#if REDUCE_IO_CALLS
+#ifdef _PSP_FW_VERSION
int bufs = (read_len*2048) / (2048+304);
pm_read(cd_buffer, bufs*(2048+304), Pico_mcd->TOC.Tracks[0].F);
for (i = 1; i < bufs; i++)