diff options
author | bunnei <bunneidev@gmail.com> | 2021-04-03 03:02:10 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2021-05-06 01:40:50 +0200 |
commit | 34bed1ab41a296f8ccccc47d7c06ab03de2018b5 (patch) | |
tree | 68ef2cba05f74fba14ec8c0e80b492a5fa587da5 /src/core/hle/service | |
parent | core: Defer CoreTiming initialization. (diff) | |
download | yuzu-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.cpp | 8 |
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); } |