mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
GPU: Cleanup comment.
This commit is contained in:
parent
c128df5c75
commit
a590671e8c
1 changed files with 1 additions and 4 deletions
|
@ -2728,13 +2728,10 @@ void GPUCommon::DoBlockTransfer(u32 skipDrawReason) {
|
|||
}
|
||||
|
||||
bool GPUCommon::PerformMemoryCopy(u32 dest, u32 src, int size) {
|
||||
|
||||
// Track stray copies of a framebuffer in RAM. MotoGP does this.
|
||||
if (framebufferManager_->MayIntersectFramebuffer(src) || framebufferManager_->MayIntersectFramebuffer(dest)) {
|
||||
if (!framebufferManager_->NotifyFramebufferCopy(src, dest, size, false, gstate_c.skipDrawReason)) {
|
||||
// TODO: What? Why would a game copy between the mirrors? This check seems entirely
|
||||
// superfluous.
|
||||
// We use a little hack for Download/Upload using a VRAM mirror.
|
||||
// We use a little hack for PerformMemoryDownload/PerformMemoryUpload using a VRAM mirror.
|
||||
// Since they're identical we don't need to copy.
|
||||
if (!Memory::IsVRAMAddress(dest) || (dest ^ 0x00400000) != src) {
|
||||
Memory::Memcpy(dest, src, size);
|
||||
|
|
Loading…
Add table
Reference in a new issue