notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
32x: interpreter-wrap drc works (demos only). SVP drc refactoring.
[picodrive.git]
/
pico
/
carthw
/
svp
/
svp.c
diff --git
a/pico/carthw/svp/svp.c
b/pico/carthw/svp/svp.c
index
6248120
..
d1e7f8f
100644
(file)
--- a/
pico/carthw/svp/svp.c
+++ b/
pico/carthw/svp/svp.c
@@
-99,6
+99,13
@@
void PicoSVPInit(void)
{
}
{
}
+static void PicoSVPExit(void)
+{
+#ifndef PSP
+ ssp1601_dyn_exit();
+#endif
+}
+
void PicoSVPStartup(void)
{
void PicoSVPStartup(void)
{
@@
-133,6
+140,7
@@
void PicoSVPStartup(void)
PicoDmaHook = PicoSVPDma;
PicoResetHook = PicoSVPReset;
PicoLineHook = PicoSVPLine;
PicoDmaHook = PicoSVPDma;
PicoResetHook = PicoSVPReset;
PicoLineHook = PicoSVPLine;
+ PicoCartUnloadHook = PicoSVPExit;
// save state stuff
svp_states[0].ptr = svp->iram_rom;
// save state stuff
svp_states[0].ptr = svp->iram_rom;