notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1.40a fixes, pt2
[picodrive.git]
/
Pico
/
carthw
/
svp
/
svp.c
diff --git
a/Pico/carthw/svp/svp.c
b/Pico/carthw/svp/svp.c
index
c7b6551
..
cbddd9c
100644
(file)
--- a/
Pico/carthw/svp/svp.c
+++ b/
Pico/carthw/svp/svp.c
@@
-13,7
+13,7
@@
#endif
svp_t *svp = NULL;
#endif
svp_t *svp = NULL;
-int PicoSVPCycles = 8
2
0; // cycles/line, just a guess
+int PicoSVPCycles = 8
5
0; // cycles/line, just a guess
static int svp_dyn_ready = 0;
/* save state stuff */
static int svp_dyn_ready = 0;
/* save state stuff */
@@
-47,8
+47,10
@@
static void PicoSVPLine(int count)
{
if ((PicoOpt&0x20000) && svp_dyn_ready)
ssp1601_dyn_run(PicoSVPCycles * count);
{
if ((PicoOpt&0x20000) && svp_dyn_ready)
ssp1601_dyn_run(PicoSVPCycles * count);
- else
+ else
{
ssp1601_run(PicoSVPCycles * count);
ssp1601_run(PicoSVPCycles * count);
+ svp_dyn_ready = 0; // just in case
+ }
// test mode
//if (Pico.m.frame_count == 13) PicoPad[0] |= 0xff;
// test mode
//if (Pico.m.frame_count == 13) PicoPad[0] |= 0xff;