X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Pico%2FPico.h;h=017859035fc935987901c2771ec9f7e5bd44bc46;hb=ef4eb506de324df73bcda06f027a20349c69d05f;hp=8398e7491c27fef2ba2233f724e2810d1a940ad9;hpb=1e6b5e39f45341524d90a4c71776e92a6d2d6fe5;p=picodrive.git diff --git a/Pico/Pico.h b/Pico/Pico.h index 8398e74..0178590 100644 --- a/Pico/Pico.h +++ b/Pico/Pico.h @@ -71,14 +71,18 @@ extern int (*PicoMCDcloseTray)(void); extern int PicoCDBuffers; // Pico/Pico.c +#define XPCM_BUFFER_SIZE (320+32) typedef struct { int pen_pos[2]; int page; // internal - int fifo_bytes; + int fifo_bytes; // free bytes in FIFO + int fifo_line_bytes; // float part, << 16 int line_counter; - unsigned int r1, r12; + unsigned short r1, r12; + unsigned char xpcm_buffer[XPCM_BUFFER_SIZE+4]; + unsigned char *xpcm_ptr; } picohw_state; extern picohw_state PicoPicohw;