mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-06 07:38:05 -04:00
bugfixes, new scaling, double ym upd at 940
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@83 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
3d48f1437f
commit
2433f40912
22 changed files with 360 additions and 171 deletions
10
Pico/Pico.c
10
Pico/Pico.c
|
@ -72,7 +72,7 @@ int PicoReset(int hard)
|
|||
PicoMemReset();
|
||||
SekReset();
|
||||
// s68k doesn't have the TAS quirk, so we just globally set normal TAS handler in MCD mode (used by Batman games).
|
||||
CycloneSetRealTAS(PicoMCD & 1);
|
||||
SekSetRealTAS(PicoMCD & 1);
|
||||
SekCycleCntT=0;
|
||||
z80_reset();
|
||||
|
||||
|
@ -486,7 +486,13 @@ static int PicoFrameSimple(void)
|
|||
int y=0,line=0,lines=0,lines_step=0,sects;
|
||||
int cycles_68k_vblock,cycles_68k_block;
|
||||
|
||||
if(Pico.m.pal) {
|
||||
// we don't emulate DMA timing in this mode
|
||||
if (Pico.m.dma_bytes) {
|
||||
Pico.m.dma_bytes=0;
|
||||
Pico.video.status&=~2;
|
||||
}
|
||||
|
||||
if (Pico.m.pal) {
|
||||
// M68k cycles/frame: 152009.78
|
||||
if(pv->reg[1]&8) { // 240 lines
|
||||
cycles_68k_block = (int) ((double) OSC_PAL / 7 / 50 / 312 * 15 + 0.4); // 16 sects, 16*15=240, 7308
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue