summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/ptm
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2017-06-21 07:04:09 +0200
committerGitHub <noreply@github.com>2017-06-21 07:04:09 +0200
commitb21dfbb2956698b05104bc68c0b08ade0d671fd8 (patch)
tree2f39f319f1391d4be12e50d1504c2bfc06b35cc2 /src/core/hle/service/ptm
parentMerge pull request #2779 from Subv/uds_more2 (diff)
parentResultVal: Remove MoveFrom() (diff)
downloadyuzu-b21dfbb2956698b05104bc68c0b08ade0d671fd8.tar
yuzu-b21dfbb2956698b05104bc68c0b08ade0d671fd8.tar.gz
yuzu-b21dfbb2956698b05104bc68c0b08ade0d671fd8.tar.bz2
yuzu-b21dfbb2956698b05104bc68c0b08ade0d671fd8.tar.lz
yuzu-b21dfbb2956698b05104bc68c0b08ade0d671fd8.tar.xz
yuzu-b21dfbb2956698b05104bc68c0b08ade0d671fd8.tar.zst
yuzu-b21dfbb2956698b05104bc68c0b08ade0d671fd8.zip
Diffstat (limited to 'src/core/hle/service/ptm')
-rw-r--r--src/core/hle/service/ptm/ptm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/ptm/ptm.cpp b/src/core/hle/service/ptm/ptm.cpp
index 39382ef09..a0b959797 100644
--- a/src/core/hle/service/ptm/ptm.cpp
+++ b/src/core/hle/service/ptm/ptm.cpp
@@ -152,7 +152,7 @@ void Init() {
auto gamecoin_result =
Service::FS::OpenFileFromArchive(*archive_result, gamecoin_path, open_mode);
if (gamecoin_result.Succeeded()) {
- auto gamecoin = gamecoin_result.MoveFrom();
+ auto gamecoin = std::move(gamecoin_result).Unwrap();
gamecoin->backend->Write(0, sizeof(GameCoin), true,
reinterpret_cast<const u8*>(&default_game_coin));
gamecoin->backend->Close();