notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(libretro) Go through new logger interface
[picodrive.git]
/
pico
/
32x
/
sh2soc.c
diff --git
a/pico/32x/sh2soc.c
b/pico/32x/sh2soc.c
index
daa48da
..
62423d1
100644
(file)
--- a/
pico/32x/sh2soc.c
+++ b/
pico/32x/sh2soc.c
@@
-73,7
+73,7
@@
static void dmac_transfer_complete(SH2 *sh2, struct dma_chan *chan)
{
chan->chcr |= DMA_TE; // DMA has ended normally
{
chan->chcr |= DMA_TE; // DMA has ended normally
- p32x_sh2_poll_event(sh2, SH2_STATE_SLEEP, SekCyclesDone
T
());
+ p32x_sh2_poll_event(sh2, SH2_STATE_SLEEP, SekCyclesDone());
if (chan->chcr & DMA_IE)
dmac_te_irq(sh2, chan);
}
if (chan->chcr & DMA_IE)
dmac_te_irq(sh2, chan);
}
@@
-358,7
+358,7
@@
void REGPARM(3) sh2_peripheral_write16(u32 a, u32 d, SH2 *sh2)
r[(a / 2) ^ 1] = d;
}
r[(a / 2) ^ 1] = d;
}
-void sh2_peripheral_write32(u32 a, u32 d, SH2 *sh2)
+void
REGPARM(3)
sh2_peripheral_write32(u32 a, u32 d, SH2 *sh2)
{
u32 *r = sh2->peri_regs;
u32 old;
{
u32 *r = sh2->peri_regs;
u32 old;