notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lightrec/plugin.c: Use logging interface instead of printf
[pcsx_rearmed.git]
/
libpcsxcore
/
psxdma.c
diff --git
a/libpcsxcore/psxdma.c
b/libpcsxcore/psxdma.c
index
b0f3fba
..
03ee563
100644
(file)
--- a/
libpcsxcore/psxdma.c
+++ b/
libpcsxcore/psxdma.c
@@
-220,7
+220,7
@@
void gpuInterrupt() {
}
void psxDma6(u32 madr, u32 bcr, u32 chcr) {
}
void psxDma6(u32 madr, u32 bcr, u32 chcr) {
- u32
size
;
+ u32
words
;
u32 *mem = (u32 *)PSXM(madr);
#ifdef PSXDMA_LOG
u32 *mem = (u32 *)PSXM(madr);
#ifdef PSXDMA_LOG
@@
-238,7
+238,7
@@
void psxDma6(u32 madr, u32 bcr, u32 chcr) {
}
// already 32-bit size
}
// already 32-bit size
-
size
= bcr;
+
words
= bcr;
while (bcr--) {
*mem-- = SWAP32((madr - 4) & 0xffffff);
while (bcr--) {
*mem-- = SWAP32((madr - 4) & 0xffffff);
@@
-246,7
+246,10
@@
void psxDma6(u32 madr, u32 bcr, u32 chcr) {
}
mem++; *mem = 0xffffff;
}
mem++; *mem = 0xffffff;
- GPUOTCDMA_INT(size);
+ //GPUOTCDMA_INT(size);
+ // halted
+ psxRegs.cycle += words;
+ GPUOTCDMA_INT(16);
return;
}
#ifdef PSXDMA_LOG
return;
}
#ifdef PSXDMA_LOG