diff options
| author | iCatButler <i.am.catbutler@gmail.com> | 2018-03-19 07:39:08 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-03-19 07:39:08 +0000 |
| commit | 6f76041029393c6823973a29426b28c8c2d0b064 (patch) | |
| tree | 13c1bb5215c2510a7c430b59bc22df666cd2fbf3 /libpcsxcore/gpu.c | |
| parent | 768332417644451d38ce1a737465656c7cc75de3 (diff) | |
| parent | 128d6afb179756513860187cf5e31d84d6d8cac4 (diff) | |
| download | pcsxr-6f76041029393c6823973a29426b28c8c2d0b064.tar.gz | |
Merge pull request #7 from loathingKernel/sync-with-codeplex
Sync with codeplex
Diffstat (limited to 'libpcsxcore/gpu.c')
| -rwxr-xr-x | libpcsxcore/gpu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libpcsxcore/gpu.c b/libpcsxcore/gpu.c index 37367363..d34093ea 100755 --- a/libpcsxcore/gpu.c +++ b/libpcsxcore/gpu.c @@ -118,8 +118,9 @@ void psxDma2(u32 madr, u32 bcr, u32 chcr) { // GPU // BA blocks * BS words (word = 32-bits) size = (bcr >> 16) * (bcr & 0xffff); GPU_readDataMem(ptr, size); +#ifdef PSXREC psxCpu->Clear(madr, size); - +#endif #if 1 // already 32-bit word size ((size * 4) / 4) GPUDMA_INT(size); |
