diff options
author | 2014-12-12 22:12:12 -0500 | |
---|---|---|
committer | 2014-12-12 22:12:12 -0500 | |
commit | a6791e4fc73dda4853c8363d8ecf5094dbedd0ab (patch) | |
tree | 279039386bc3c63f2eda6530fa325334ddadb957 /src/video_core | |
parent | 33e61ef514d2b1a32eea10161d900f1e2e5c0ba2 (diff) | |
parent | 6fe61d3debff9da8df7c2422edf426045b87d23b (diff) |
Merge pull request #267 from bunnei/apt-shared-font
APT shared font loading
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/pica.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/pica.h b/src/video_core/pica.h index 8bac178c..4c3791ad 100644 --- a/src/video_core/pica.h +++ b/src/video_core/pica.h @@ -116,7 +116,7 @@ struct Regs { u32 address; u32 GetPhysicalAddress() const { - return DecodeAddressRegister(address) - Memory::FCRAM_PADDR + Memory::HEAP_GSP_VADDR; + return DecodeAddressRegister(address) - Memory::FCRAM_PADDR + Memory::HEAP_LINEAR_VADDR; } // texture1 and texture2 store the texture format directly after the address @@ -312,7 +312,7 @@ struct Regs { inline u32 GetBaseAddress() const { // TODO: Ugly, should fix PhysicalToVirtualAddress instead - return DecodeAddressRegister(base_address) - Memory::FCRAM_PADDR + Memory::HEAP_GSP_VADDR; + return DecodeAddressRegister(base_address) - Memory::FCRAM_PADDR + Memory::HEAP_LINEAR_VADDR; } // Descriptor for internal vertex attributes |