summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-08-06 03:36:44 +0200
committerLioncash <mathew1800@gmail.com>2018-08-06 03:39:09 +0200
commit2a7a2b739b3d026c2eed4449c4daf4bc8fe317df (patch)
tree7a2fd663ad60d2d40e730978ec14a39d1d544956
parentmemory: Correct prototype of ZeroBlock (diff)
downloadyuzu-2a7a2b739b3d026c2eed4449c4daf4bc8fe317df.tar
yuzu-2a7a2b739b3d026c2eed4449c4daf4bc8fe317df.tar.gz
yuzu-2a7a2b739b3d026c2eed4449c4daf4bc8fe317df.tar.bz2
yuzu-2a7a2b739b3d026c2eed4449c4daf4bc8fe317df.tar.lz
yuzu-2a7a2b739b3d026c2eed4449c4daf4bc8fe317df.tar.xz
yuzu-2a7a2b739b3d026c2eed4449c4daf4bc8fe317df.tar.zst
yuzu-2a7a2b739b3d026c2eed4449c4daf4bc8fe317df.zip
-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 73c0bf4ad..b7fb3b9ed 100644
--- a/src/core/memory.h
+++ b/src/core/memory.h
@@ -141,9 +141,9 @@ PageTable* GetCurrentPageTable();
/// Determines if the given VAddr is valid for the specified process.
bool IsValidVirtualAddress(const Kernel::Process& process, VAddr vaddr);
-bool IsValidVirtualAddress(VAddr addr);
+bool IsValidVirtualAddress(VAddr vaddr);
/// Determines if the given VAddr is a kernel address
-bool IsKernelVirtualAddress(VAddr addr);
+bool IsKernelVirtualAddress(VAddr vaddr);
u8 Read8(VAddr addr);
u16 Read16(VAddr addr);
@@ -163,9 +163,9 @@ void WriteBlock(VAddr dest_addr, const void* src_buffer, size_t size);
void ZeroBlock(const Kernel::Process& process, VAddr dest_addr, size_t size);
void CopyBlock(VAddr dest_addr, VAddr src_addr, size_t size);
-u8* GetPointer(VAddr virtual_address);
+u8* GetPointer(VAddr vaddr);
-std::string ReadCString(VAddr virtual_address, std::size_t max_length);
+std::string ReadCString(VAddr vaddr, std::size_t max_length);
enum class FlushMode {
/// Write back modified surfaces to RAM
@@ -179,7 +179,7 @@ enum class FlushMode {
/**
* Mark each page touching the region as cached.
*/
-void RasterizerMarkRegionCached(Tegra::GPUVAddr start, u64 size, bool cached);
+void RasterizerMarkRegionCached(Tegra::GPUVAddr gpu_addr, u64 size, bool cached);
/**
* Flushes and invalidates any externally cached rasterizer resources touching the given virtual