summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2021-05-18 19:14:28 +0200
committerMorph <39850852+Morph1984@users.noreply.github.com>2021-05-18 19:14:28 +0200
commit7f78b17e204e961a9ba86f2fe99455e653ef12cc (patch)
treefe33aa27e1a2893661ee3b8e1435e1486081cdb0 /src/core
parentMerge pull request #6322 from ameerj/fast-null-buffer (diff)
downloadyuzu-7f78b17e204e961a9ba86f2fe99455e653ef12cc.tar
yuzu-7f78b17e204e961a9ba86f2fe99455e653ef12cc.tar.gz
yuzu-7f78b17e204e961a9ba86f2fe99455e653ef12cc.tar.bz2
yuzu-7f78b17e204e961a9ba86f2fe99455e653ef12cc.tar.lz
yuzu-7f78b17e204e961a9ba86f2fe99455e653ef12cc.tar.xz
yuzu-7f78b17e204e961a9ba86f2fe99455e653ef12cc.tar.zst
yuzu-7f78b17e204e961a9ba86f2fe99455e653ef12cc.zip
Diffstat (limited to 'src/core')
-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: