X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=pico%2Fpico_int.h;h=a33051ccf560c244c5c2b20f1594b6172fc1fde4;hb=a93a80deda2211dc89ea543841e71cdaf6f65917;hp=ccc1a9bfa0ac1fc3a36827049d61f900f83ea56d;hpb=e53f0499fe2337c5efea7443d6e2322887cae593;p=picodrive.git diff --git a/pico/pico_int.h b/pico/pico_int.h index ccc1a9b..a33051c 100644 --- a/pico/pico_int.h +++ b/pico/pico_int.h @@ -376,7 +376,6 @@ struct PicoSRAM // MCD #include "cd/cd_sys.h" #include "cd/LC89510.h" -#include "cd/gfx_cd.h" #define PCM_MIXBUF_LEN ((12500000 / 384) / 50 + 1) @@ -446,7 +445,6 @@ typedef struct CDD cdd; CDC cdc; _scd scd; - Rot_Comp rot_comp; int pcm_mixbuf[PCM_MIXBUF_LEN * 2]; int pcm_mixpos; int pcm_mixbuf_dirty; @@ -611,6 +609,16 @@ void PicoWrite16_io(unsigned int a, unsigned int d); // pico/memory.c PICO_INTERNAL void PicoMemSetupPico(void); +// cd/gfx.c +void gfx_init(void); +void gfx_start(unsigned int base); +void gfx_update(unsigned int cycles); +int gfx_context_save(unsigned char *state); +int gfx_context_load(const unsigned char *state); + +// cd/gfx_dma.c +void DmaSlowCell(unsigned int source, unsigned int a, int len, unsigned char inc); + // cd/memory.c PICO_INTERNAL void PicoMemSetupCD(void); unsigned int PicoRead8_mcd_io(unsigned int a);