X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=Pico%2Fcd%2Fgfx_cd.c;h=06fa53cbca9680d3dc8d80dd80c65d5d0ce6c5b5;hb=cea6590346640236914eeff840401c55db8a77ce;hp=4f393bd553e2bcec9542677062c22917bde0ccaa;hpb=d1df87866b45a5ab9f1b6c6c8a40da6a3a777f83;p=picodrive.git diff --git a/Pico/cd/gfx_cd.c b/Pico/cd/gfx_cd.c index 4f393bd..06fa53c 100644 --- a/Pico/cd/gfx_cd.c +++ b/Pico/cd/gfx_cd.c @@ -1,10 +1,11 @@ // TODO... +// #include #include "../PicoInt.h" #define rot_comp Pico_mcd->rot_comp -static int Table_Rot_Time[] = +static const int Table_Rot_Time[] = { 0x00054000, 0x00048000, 0x00040000, 0x00036000, //; 008-032 ; briefing - sprite 0x0002E000, 0x00028000, 0x00024000, 0x00022000, //; 036-064 ; arbre souvent @@ -197,3 +198,8 @@ void gfx_cd_write(unsigned int a, unsigned int d) } +void gfx_cd_reset(void) +{ + memset(&rot_comp.Reg_58, 0, 0/*sizeof(Pico_mcd->rot_comp)*/); +} +