diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-05-09 05:39:56 +0200 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-05-09 06:29:52 +0200 |
commit | 1c0b87edc2d8262c06ea4c301bcfc884875f918b (patch) | |
tree | f5b49739cc6cb7ca758111c5171c84b2c3152f5f /src/video_core/pica.h | |
parent | Loader: Remove .bin file support (diff) | |
download | yuzu-1c0b87edc2d8262c06ea4c301bcfc884875f918b.tar yuzu-1c0b87edc2d8262c06ea4c301bcfc884875f918b.tar.gz yuzu-1c0b87edc2d8262c06ea4c301bcfc884875f918b.tar.bz2 yuzu-1c0b87edc2d8262c06ea4c301bcfc884875f918b.tar.lz yuzu-1c0b87edc2d8262c06ea4c301bcfc884875f918b.tar.xz yuzu-1c0b87edc2d8262c06ea4c301bcfc884875f918b.tar.zst yuzu-1c0b87edc2d8262c06ea4c301bcfc884875f918b.zip |
Diffstat (limited to 'src/video_core/pica.h')
-rw-r--r-- | src/video_core/pica.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/pica.h b/src/video_core/pica.h index a0ba715f3..4c48b6bf7 100644 --- a/src/video_core/pica.h +++ b/src/video_core/pica.h @@ -1003,7 +1003,7 @@ inline static u32 PAddrToVAddr(u32 addr) { if (addr >= Memory::VRAM_PADDR && addr < Memory::VRAM_PADDR + Memory::VRAM_SIZE) { return addr - Memory::VRAM_PADDR + Memory::VRAM_VADDR; } else if (addr >= Memory::FCRAM_PADDR && addr < Memory::FCRAM_PADDR + Memory::FCRAM_SIZE) { - return addr - Memory::FCRAM_PADDR + Memory::HEAP_LINEAR_VADDR; + return addr - Memory::FCRAM_PADDR + Memory::LINEAR_HEAP_VADDR; } else { return 0; } |