summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-08-05 21:34:00 -0400
committerLioncash <mathew1800@gmail.com>2018-08-05 21:39:06 -0400
commit4aa31b06189de54ab4eee79da8b832cc9e5574f9 (patch)
tree7a47eab356ec674094b1aca20cc07eb4bf361cd0
parent2fc5c783edf2382968f573aca1e33a43d9f12877 (diff)
memory: Correct prototype of ZeroBlock
Previously, the prototype wasn't matching the definition, which has a Processor parameter before the destination address.
-rw-r--r--src/core/memory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/memory.h b/src/core/memory.h
index 1d0484c0c..73c0bf4ad 100644
--- a/src/core/memory.h
+++ b/src/core/memory.h
@@ -160,7 +160,7 @@ void ReadBlock(VAddr src_addr, void* dest_buffer, size_t size);
void WriteBlock(const Kernel::Process& process, VAddr dest_addr, const void* src_buffer,
size_t size);
void WriteBlock(VAddr dest_addr, const void* src_buffer, size_t size);
-void ZeroBlock(VAddr dest_addr, 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);