notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cd: switch to CD controller code from genplus
[picodrive.git]
/
pico
/
cd
/
buffering.c
diff --git
a/pico/cd/buffering.c
b/pico/cd/buffering.c
index
25f54ff
..
8420336
100644
(file)
--- a/
pico/cd/buffering.c
+++ b/
pico/cd/buffering.c
@@
-7,6
+7,7
@@
*/
#include "../pico_int.h"
*/
#include "../pico_int.h"
+#include "../cd/cue.h"
int PicoCDBuffers = 0;
static unsigned char *cd_buffer = NULL;
int PicoCDBuffers = 0;
static unsigned char *cd_buffer = NULL;
@@
-66,7
+67,7
@@
PICO_INTERNAL void PicoCDBufferRead(void *dest, int lba)
int is_bin, offs, read_len, moved = 0;
reads++;
int is_bin, offs, read_len, moved = 0;
reads++;
- is_bin = Pico_mcd->TOC.Tracks[0].ftype ==
TYPE
_BIN;
+ is_bin = Pico_mcd->TOC.Tracks[0].ftype ==
CT
_BIN;
if (PicoCDBuffers <= 0)
{
if (PicoCDBuffers <= 0)
{