summaryrefslogtreecommitdiff
path: root/src/core/memory.h
diff options
context:
space:
mode:
authorGravatar bunnei2018-01-01 15:40:35 -0500
committerGravatar bunnei2018-01-01 15:40:35 -0500
commit93480b10ef443dbc616a9240fe8f7456315c1940 (patch)
treeca1f8c7f31835e3c895e72e08745789034c2758b /src/core/memory.h
parentsvc: Stub out svcWaitSynchronization. (diff)
downloadyuzu-93480b10ef443dbc616a9240fe8f7456315c1940.tar.gz
yuzu-93480b10ef443dbc616a9240fe8f7456315c1940.tar.xz
yuzu-93480b10ef443dbc616a9240fe8f7456315c1940.zip
core/video_core: Fix a bunch of u64 -> u32 warnings.
Diffstat (limited to 'src/core/memory.h')
-rw-r--r--src/core/memory.h10
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 {
45 45
46struct SpecialRegion { 46struct SpecialRegion {
47 VAddr base; 47 VAddr base;
48 u32 size; 48 u64 size;
49 MMIORegionPointer handler; 49 MMIORegionPointer handler;
50}; 50};
51 51
@@ -247,17 +247,17 @@ u8* GetPhysicalPointer(PAddr address);
247 * Adds the supplied value to the rasterizer resource cache counter of each 247 * Adds the supplied value to the rasterizer resource cache counter of each
248 * page touching the region. 248 * page touching the region.
249 */ 249 */
250void RasterizerMarkRegionCached(PAddr start, u32 size, int count_delta); 250void RasterizerMarkRegionCached(PAddr start, u64 size, int count_delta);
251 251
252/** 252/**
253 * Flushes any externally cached rasterizer resources touching the given region. 253 * Flushes any externally cached rasterizer resources touching the given region.
254 */ 254 */
255void RasterizerFlushRegion(PAddr start, u32 size); 255void RasterizerFlushRegion(PAddr start, u64 size);
256 256
257/** 257/**
258 * Flushes and invalidates any externally cached rasterizer resources touching the given region. 258 * Flushes and invalidates any externally cached rasterizer resources touching the given region.
259 */ 259 */
260void RasterizerFlushAndInvalidateRegion(PAddr start, u32 size); 260void RasterizerFlushAndInvalidateRegion(PAddr start, u64 size);
261 261
262enum class FlushMode { 262enum class FlushMode {
263 /// Write back modified surfaces to RAM 263 /// Write back modified surfaces to RAM
@@ -270,6 +270,6 @@ enum class FlushMode {
270 * Flushes and invalidates any externally cached rasterizer resources touching the given virtual 270 * Flushes and invalidates any externally cached rasterizer resources touching the given virtual
271 * address region. 271 * address region.
272 */ 272 */
273void RasterizerFlushVirtualRegion(VAddr start, u32 size, FlushMode mode); 273void RasterizerFlushVirtualRegion(VAddr start, u64 size, FlushMode mode);
274 274
275} // namespace Memory 275} // namespace Memory