diff options
author | bunnei <bunneidev@gmail.com> | 2018-01-01 21:40:35 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-01-01 21:40:35 +0100 |
commit | 93480b10ef443dbc616a9240fe8f7456315c1940 (patch) | |
tree | ca1f8c7f31835e3c895e72e08745789034c2758b /src/core/memory.h | |
parent | svc: Stub out svcWaitSynchronization. (diff) | |
download | yuzu-93480b10ef443dbc616a9240fe8f7456315c1940.tar yuzu-93480b10ef443dbc616a9240fe8f7456315c1940.tar.gz yuzu-93480b10ef443dbc616a9240fe8f7456315c1940.tar.bz2 yuzu-93480b10ef443dbc616a9240fe8f7456315c1940.tar.lz yuzu-93480b10ef443dbc616a9240fe8f7456315c1940.tar.xz yuzu-93480b10ef443dbc616a9240fe8f7456315c1940.tar.zst yuzu-93480b10ef443dbc616a9240fe8f7456315c1940.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/memory.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/memory.h b/src/core/memory.h index 71ba487fc..91bd4d889 100644 --- a/src/core/memory.h +++ b/src/core/memory.h @@ -45,7 +45,7 @@ enum class PageType { struct SpecialRegion { VAddr base; - u32 size; + u64 size; MMIORegionPointer handler; }; @@ -247,17 +247,17 @@ u8* GetPhysicalPointer(PAddr address); * Adds the supplied value to the rasterizer resource cache counter of each * page touching the region. */ -void RasterizerMarkRegionCached(PAddr start, u32 size, int count_delta); +void RasterizerMarkRegionCached(PAddr start, u64 size, int count_delta); /** * Flushes any externally cached rasterizer resources touching the given region. */ -void RasterizerFlushRegion(PAddr start, u32 size); +void RasterizerFlushRegion(PAddr start, u64 size); /** * Flushes and invalidates any externally cached rasterizer resources touching the given region. */ -void RasterizerFlushAndInvalidateRegion(PAddr start, u32 size); +void RasterizerFlushAndInvalidateRegion(PAddr start, u64 size); enum class FlushMode { /// Write back modified surfaces to RAM @@ -270,6 +270,6 @@ enum class FlushMode { * Flushes and invalidates any externally cached rasterizer resources touching the given virtual * address region. */ -void RasterizerFlushVirtualRegion(VAddr start, u32 size, FlushMode mode); +void RasterizerFlushVirtualRegion(VAddr start, u64 size, FlushMode mode); } // namespace Memory |