summaryrefslogtreecommitdiff
path: root/libpcsxcore/gpu.c
diff options
context:
space:
mode:
authorSND\shalma_cp <SND\shalma_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2011-02-02 14:42:02 +0000
committerSND\shalma_cp <SND\shalma_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2011-02-02 14:42:02 +0000
commit8162b50769bd9afaf9e05d0bb5cfe7de20790354 (patch)
tree119eb44d1aebe5f22354c78108d1362babf8633f /libpcsxcore/gpu.c
parentb0cf7dd03d0c060ad22b48749612c6da2eb7248b (diff)
downloadpcsxr-8162b50769bd9afaf9e05d0bb5cfe7de20790354.tar.gz
Experimental patches
- gpu.c - use 1/3x dma time (max time allowed by X-Files - system interrupt timing) - cdrom.c - fix dma wrap pointers Disabled by default - enable yourself for now git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@62840 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'libpcsxcore/gpu.c')
-rw-r--r--libpcsxcore/gpu.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libpcsxcore/gpu.c b/libpcsxcore/gpu.c
index c9512559..ff3426f3 100644
--- a/libpcsxcore/gpu.c
+++ b/libpcsxcore/gpu.c
@@ -126,8 +126,8 @@ void psxDma2(u32 madr, u32 bcr, u32 chcr) { // GPU
// already 32-bit word size ((size * 4) / 4)
GPUDMA_INT(size);
#else
- // NOTE: no bus conflicts emulated - speed this up
- GPUDMA_INT(size/4);
+ // Possible DMA burst + overhead
+ GPUDMA_INT(size/3);
#endif
return;
@@ -150,9 +150,9 @@ void psxDma2(u32 madr, u32 bcr, u32 chcr) { // GPU
// already 32-bit word size ((size * 4) / 4)
GPUDMA_INT(size);
#else
- // X-Files: use very fast time for movies
- // - we don't simulate bus conflicts
- GPUDMA_INT( size / 4 );
+ // Possible DMA burst + overhead
+ // - X-Files = 0.333333x max for videos
+ GPUDMA_INT( size / 3 );
#endif
return;