mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
svp hack, as nonacc mode is gone
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@522 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
0fc0e24180
commit
e7aac0621a
1 changed files with 12 additions and 1 deletions
|
@ -45,8 +45,19 @@ static void PicoSVPReset(void)
|
|||
}
|
||||
|
||||
|
||||
static void PicoSVPLine(int count)
|
||||
static void PicoSVPLine(void)
|
||||
{
|
||||
int count = 1;
|
||||
#if defined(ARM) || defined(PSP)
|
||||
// performance hack
|
||||
static int delay_lines = 0;
|
||||
delay_lines++;
|
||||
if ((Pico.m.scanline&0xf) != 0xf && Pico.m.scanline != 261 && Pico.m.scanline != 311)
|
||||
return;
|
||||
count = delay_lines;
|
||||
delay_lines = 0;
|
||||
#endif
|
||||
|
||||
#ifndef PSP
|
||||
if ((PicoOpt&POPT_EN_SVP_DRC) && svp_dyn_ready)
|
||||
ssp1601_dyn_run(PicoSVPCycles * count);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue