BPFunctions: Remove use of a dumb method

GetPointer serves no purpose.
This commit is contained in:
Jasper St. Pierre
2014-05-03 15:04:29 -04:00
parent 56228cea5d
commit fe645b888b
3 changed files with 2 additions and 8 deletions

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);