summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-05-18 20:00:34 +0200
committerGitHub <noreply@github.com>2021-05-18 20:00:34 +0200
commit61f293e5c98f4dc93f366c85caa2628da8d63205 (patch)
treefe33aa27e1a2893661ee3b8e1435e1486081cdb0
parentMerge pull request #6322 from ameerj/fast-null-buffer (diff)
parentKTransferMemory: Return size instead of size * PageSize in GetSize() (diff)
downloadyuzu-61f293e5c98f4dc93f366c85caa2628da8d63205.tar
yuzu-61f293e5c98f4dc93f366c85caa2628da8d63205.tar.gz
yuzu-61f293e5c98f4dc93f366c85caa2628da8d63205.tar.bz2
yuzu-61f293e5c98f4dc93f366c85caa2628da8d63205.tar.lz
yuzu-61f293e5c98f4dc93f366c85caa2628da8d63205.tar.xz
yuzu-61f293e5c98f4dc93f366c85caa2628da8d63205.tar.zst
yuzu-61f293e5c98f4dc93f366c85caa2628da8d63205.zip
-rw-r--r--src/core/hle/kernel/k_transfer_memory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/k_transfer_memory.h b/src/core/hle/kernel/k_transfer_memory.h
index 838fd2b18..c2d0f1eaf 100644
--- a/src/core/hle/kernel/k_transfer_memory.h
+++ b/src/core/hle/kernel/k_transfer_memory.h
@@ -52,7 +52,7 @@ public:
}
size_t GetSize() const {
- return is_initialized ? size * PageSize : 0;
+ return is_initialized ? size : 0;
}
private: