mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
additional movie tweaking
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@7 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
312e9ce192
commit
8c1952f0d7
5 changed files with 61 additions and 45 deletions
|
@ -621,6 +621,8 @@ int PicoFrame(void)
|
|||
{
|
||||
int acc;
|
||||
|
||||
Pico.m.frame_count++;
|
||||
|
||||
if (PicoMCD & 1) {
|
||||
PicoFrameMCD();
|
||||
return 0;
|
||||
|
|
|
@ -189,7 +189,8 @@ static void DmaCopy(int len)
|
|||
dprintf("DmaCopy len %i [%i|%i]", len, Pico.m.scanline, SekCyclesDone());
|
||||
|
||||
Pico.m.dma_bytes += len;
|
||||
Pico.video.status|=2; // dma busy
|
||||
if(Pico.m.scanline != -1)
|
||||
Pico.video.status|=2; // dma busy
|
||||
|
||||
source =Pico.video.reg[0x15];
|
||||
source|=Pico.video.reg[0x16]<<8;
|
||||
|
@ -222,7 +223,8 @@ static void DmaFill(int data)
|
|||
dprintf("DmaFill len %i inc %i [%i|%i]", len, inc, Pico.m.scanline, SekCyclesDone());
|
||||
|
||||
Pico.m.dma_bytes += len;
|
||||
Pico.video.status|=2; // dma busy
|
||||
if(Pico.m.scanline != -1)
|
||||
Pico.video.status|=2; // dma busy (in accurate mode)
|
||||
|
||||
// from Charles MacDonald's genvdp.txt:
|
||||
// Write lower byte to address specified
|
||||
|
@ -416,7 +418,7 @@ unsigned int PicoVideoRead(unsigned int a)
|
|||
hc=hcounts_40[lineCycles];
|
||||
else hc=hcounts_32[lineCycles];
|
||||
|
||||
if(lineCycles > 488-12) d++; // Wheel of Fortune
|
||||
//if(lineCycles > 488-12) d++; // Wheel of Fortune
|
||||
} else {
|
||||
// get approximate V-Counter
|
||||
d=vcounts[SekCyclesDone()>>8];
|
||||
|
|
|
@ -25,7 +25,7 @@ typedef unsigned int u32;
|
|||
|
||||
// -----------------------------------------------------------------
|
||||
|
||||
extern m68ki_cpu_core m68ki_cpu;
|
||||
// extern m68ki_cpu_core m68ki_cpu;
|
||||
|
||||
extern int counter75hz;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue