mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
32x: adjust sh2 cycles again
MK2 doesn't play it's animations if slave is clocked too slow.. the more we underclock slave, the more often animations get stuck Why does it need so many cycles?
This commit is contained in:
parent
986d60fc60
commit
0c720b9144
1 changed files with 5 additions and 3 deletions
|
@ -212,12 +212,14 @@ extern unsigned short *PicoCramHigh; // pointer to CRAM buff (0x40 shorts), conv
|
|||
extern void (*PicoPrepareCram)(); // prepares PicoCramHigh for renderer to use
|
||||
|
||||
// pico.c (32x)
|
||||
// multipliers against 68k clock
|
||||
// multipliers against 68k clock (7670442)
|
||||
// normally * 3, but effectively slower due to high latencies everywhere
|
||||
// however using something lower breaks MK2 animations
|
||||
extern int p32x_msh2_multiplier;
|
||||
extern int p32x_ssh2_multiplier;
|
||||
#define SH2_MULTI_SHIFT 10
|
||||
#define MSH2_MULTI_DEFAULT ((1 << SH2_MULTI_SHIFT) * 21 / 10)
|
||||
#define SSH2_MULTI_DEFAULT ((1 << SH2_MULTI_SHIFT) * 3 / 2)
|
||||
#define MSH2_MULTI_DEFAULT ((1 << SH2_MULTI_SHIFT) * 3)
|
||||
#define SSH2_MULTI_DEFAULT ((1 << SH2_MULTI_SHIFT) * 3)
|
||||
|
||||
// 32x/draw.c
|
||||
void PicoDraw32xSetFrameMode(int is_on, int only_32x);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue