BPFunctions: Remove use of a dumb method

GetPointer serves no purpose.
This commit is contained in:
Jasper St. Pierre committed 2014-05-20 11:15:08 -04:00
1 parent 56228cea5d
commit fe645b888b
3 files changed
+2 -8

No files matched your search

+2 -2
View File
@@ -273,9 +273,9 @@ void BPWritten(const BPCmd& bp)
// TODO - figure out a cleaner way.
if (GetConfig(CONFIG_ISWII))
ptr = GetPointer(bpmem.tmem_config.tlut_src << 5);
ptr = Memory::GetPointer(bpmem.tmem_config.tlut_src << 5);
else
ptr = GetPointer((bpmem.tmem_config.tlut_src & 0xFFFFF) << 5);
ptr = Memory::GetPointer((bpmem.tmem_config.tlut_src & 0xFFFFF) << 5);
if (ptr)
memcpy_gc(texMem + tlutTMemAddr, ptr, tlutXferCount);