X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Pico%2FPico.c;h=7b707972b8ebf9e938cf7d993b360e4f9d8308a4;hb=eff55556cff77fd64cff4be32e449e0a58aed6fe;hp=e6a3b296339f54c4dcb721e3dc0c44127d94359a;hpb=a4f0cc8647c019f149541df380a2d30e14aeb75c;p=picodrive.git diff --git a/Pico/Pico.c b/Pico/Pico.c index e6a3b29..7b70797 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;