X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Pico%2FPico.c;h=7b707972b8ebf9e938cf7d993b360e4f9d8308a4;hb=eff55556cff77fd64cff4be32e449e0a58aed6fe;hp=62b1b48ac094a78fa048d0c0863765a413b1398f;hpb=0af33fe0ef24a3e3b65217ad0d7aa2db03d16fc1;p=picodrive.git diff --git a/Pico/Pico.c b/Pico/Pico.c index 62b1b48a..7b707972 100644 --- a/Pico/Pico.c +++ b/Pico/Pico.c @@ -8,7 +8,6 @@ #include "PicoInt.h" -#include "sound/sound.h" #include "sound/ym2612.h" int PicoVer=0x0110; @@ -218,8 +217,8 @@ static int dma_bsycles[] = { (488<<8)/9, (488<<8)/18, (488<<8)/17, (488<<8)/9 }; -//static -int CheckDMA(void) + +PICO_INTERNAL int CheckDMA(void) { int burn = 0, bytes_can = 0, dma_op = Pico.video.reg[0x17]>>6; // see gens for 00 and 01 modes int bytes = Pico.m.dma_bytes; @@ -653,6 +652,13 @@ int PicoFrame(void) return 0; } +void PicoFrameDrawOnly(void) +{ + int y; + PicoFrameStart(); + for (y=0;y<224;y++) PicoLine(y); +} + // callback to output message from emu void (*PicoMessage)(const char *msg)=NULL;