X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=pico%2Fpico%2Fpico.c;h=077b9b21f493b40ae4de93291d091bbe941e23a6;hb=075672bf9f028490174bd3fbebe957a47a10b09d;hp=298e57e082a0508996435e90059da052ce3ca992;hpb=1cfc5cc4ce06642b9bc45ca3b9d32793718e9455;p=picodrive.git diff --git a/pico/pico/pico.c b/pico/pico/pico.c index 298e57e..077b9b2 100644 --- a/pico/pico/pico.c +++ b/pico/pico/pico.c @@ -1,3 +1,10 @@ +/* + * PicoDrive + * (C) notaz, 2008 + * + * This work is licensed under the terms of MAME license. + * See COPYING file in the top-level directory. + */ #include "../pico_int.h" // x: 0x03c - 0x19d @@ -16,7 +23,7 @@ PICO_INTERNAL void PicoReratePico(void) { int rate = guessed_rates[PicoPicohw.r12 & 7]; if (Pico.m.pal) - fifo_bytes_line = (rate<<16)/50/312/2; + fifo_bytes_line = (rate<<16)/50/313/2; else fifo_bytes_line = (rate<<16)/60/262/2; PicoPicoPCMRerate(rate); } @@ -75,11 +82,11 @@ static void PicoResetPico(void) PICO_INTERNAL void PicoInitPico(void) { - elprintf(EL_STATUS, "Pico detected"); + elprintf(EL_STATUS, "Pico startup"); PicoLineHook = PicoLinePico; PicoResetHook = PicoResetPico; - PicoAHW = PAHW_PICO; + PicoIn.AHW = PAHW_PICO; memset(&PicoPicohw, 0, sizeof(PicoPicohw)); PicoPicohw.pen_pos[0] = 0x03c + 320/2; PicoPicohw.pen_pos[1] = 0x200 + 240/2;