mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 23:37:46 -04:00
improve cue handling a bit
This commit is contained in:
parent
c7fd7bb8b7
commit
e71fae1f13
7 changed files with 156 additions and 62 deletions
|
@ -7,6 +7,7 @@
|
|||
*/
|
||||
|
||||
#include "../pico_int.h"
|
||||
#include "../cd/cue.h"
|
||||
|
||||
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++;
|
||||
|
||||
is_bin = Pico_mcd->TOC.Tracks[0].ftype == TYPE_BIN;
|
||||
is_bin = Pico_mcd->TOC.Tracks[0].ftype == CT_BIN;
|
||||
|
||||
if (PicoCDBuffers <= 0)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue