summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-04-03 03:02:10 +0200
committerbunnei <bunneidev@gmail.com>2021-05-06 01:40:50 +0200
commit34bed1ab41a296f8ccccc47d7c06ab03de2018b5 (patch)
tree68ef2cba05f74fba14ec8c0e80b492a5fa587da5 /src/core/hle/service
parentcore: Defer CoreTiming initialization. (diff)
downloadyuzu-34bed1ab41a296f8ccccc47d7c06ab03de2018b5.tar
yuzu-34bed1ab41a296f8ccccc47d7c06ab03de2018b5.tar.gz
yuzu-34bed1ab41a296f8ccccc47d7c06ab03de2018b5.tar.bz2
yuzu-34bed1ab41a296f8ccccc47d7c06ab03de2018b5.tar.lz
yuzu-34bed1ab41a296f8ccccc47d7c06ab03de2018b5.tar.xz
yuzu-34bed1ab41a296f8ccccc47d7c06ab03de2018b5.tar.zst
yuzu-34bed1ab41a296f8ccccc47d7c06ab03de2018b5.zip
Diffstat (limited to 'src/core/hle/service')
-rw-r--r--src/core/hle/service/prepo/prepo.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/hle/service/prepo/prepo.cpp b/src/core/hle/service/prepo/prepo.cpp
index d5b3b17a5..449e8d63b 100644
--- a/src/core/hle/service/prepo/prepo.cpp
+++ b/src/core/hle/service/prepo/prepo.cpp
@@ -60,7 +60,7 @@ private:
const auto process_id = rp.PopRaw<u64>();
const auto data1 = ctx.ReadBuffer(0);
- const auto data2 = [ctx] {
+ const auto data2 = [&ctx] {
if (ctx.CanReadBuffer(1)) {
return ctx.ReadBuffer(1);
}
@@ -87,7 +87,7 @@ private:
const auto process_id = rp.PopRaw<u64>();
const auto data1 = ctx.ReadBuffer(0);
- const auto data2 = [ctx] {
+ const auto data2 = [&ctx] {
if (ctx.CanReadBuffer(1)) {
return ctx.ReadBuffer(1);
}
@@ -139,7 +139,7 @@ private:
const auto title_id = rp.PopRaw<u64>();
const auto data1 = ctx.ReadBuffer(0);
- const auto data2 = [ctx] {
+ const auto data2 = [&ctx] {
if (ctx.CanReadBuffer(1)) {
return ctx.ReadBuffer(1);
}
@@ -163,7 +163,7 @@ private:
const auto title_id = rp.PopRaw<u64>();
const auto data1 = ctx.ReadBuffer(0);
- const auto data2 = [ctx] {
+ const auto data2 = [&ctx] {
if (ctx.CanReadBuffer(1)) {
return ctx.ReadBuffer(1);
}