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: watchdog for Star Wars, SCI IRQs for X-men (also needs idle loop hacks)
[picodrive.git]
/
pico
/
32x
/
32x.c
diff --git
a/pico/32x/32x.c
b/pico/32x/32x.c
index
b488eef
..
eb49da7
100644
(file)
--- a/
pico/32x/32x.c
+++ b/
pico/32x/32x.c
@@
-1,6
+1,7
@@
#include "../pico_int.h"
#include "../sound/ym2612.h"
#include "../pico_int.h"
#include "../sound/ym2612.h"
+SH2 sh2s[2];
struct Pico32x Pico32x;
static void sh2_irq_cb(int id, int level)
struct Pico32x Pico32x;
static void sh2_irq_cb(int id, int level)
@@
-51,6
+52,9
@@
void Pico32xStartup(void)
if (!Pico.m.pal)
Pico32x.vdp_regs[0] |= P32XV_nPAL;
if (!Pico.m.pal)
Pico32x.vdp_regs[0] |= P32XV_nPAL;
+ PREG8(Pico32xMem->sh2_peri_regs[0], 4) =
+ PREG8(Pico32xMem->sh2_peri_regs[1], 4) = 0x84; // SCI SSR
+
emu_32x_startup();
}
emu_32x_startup();
}