diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-03-10 19:55:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-10 19:55:28 +0100 |
commit | e0bd27b674f961d16e8ac4ba9d125b69d080800d (patch) | |
tree | bbcb999e72f40d50fe60a9d92cafff0cbf4204da /src/core/hle/service/am | |
parent | Merge pull request #9925 from ameerj/gl-sync-signal (diff) | |
parent | service: nfp: Improve implementation (diff) | |
download | yuzu-e0bd27b674f961d16e8ac4ba9d125b69d080800d.tar yuzu-e0bd27b674f961d16e8ac4ba9d125b69d080800d.tar.gz yuzu-e0bd27b674f961d16e8ac4ba9d125b69d080800d.tar.bz2 yuzu-e0bd27b674f961d16e8ac4ba9d125b69d080800d.tar.lz yuzu-e0bd27b674f961d16e8ac4ba9d125b69d080800d.tar.xz yuzu-e0bd27b674f961d16e8ac4ba9d125b69d080800d.tar.zst yuzu-e0bd27b674f961d16e8ac4ba9d125b69d080800d.zip |
Diffstat (limited to 'src/core/hle/service/am')
-rw-r--r-- | src/core/hle/service/am/applets/applet_cabinet.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/am/applets/applet_cabinet.cpp b/src/core/hle/service/am/applets/applet_cabinet.cpp index d0969b0f1..162687b29 100644 --- a/src/core/hle/service/am/applets/applet_cabinet.cpp +++ b/src/core/hle/service/am/applets/applet_cabinet.cpp @@ -119,7 +119,7 @@ void Cabinet::DisplayCompleted(bool apply_changes, std::string_view amiibo_name) case Service::NFP::CabinetMode::StartNicknameAndOwnerSettings: { Service::NFP::AmiiboName name{}; std::memcpy(name.data(), amiibo_name.data(), std::min(amiibo_name.size(), name.size() - 1)); - nfp_device->SetNicknameAndOwner(name); + nfp_device->SetRegisterInfoPrivate(name); break; } case Service::NFP::CabinetMode::StartGameDataEraser: @@ -129,7 +129,7 @@ void Cabinet::DisplayCompleted(bool apply_changes, std::string_view amiibo_name) nfp_device->RestoreAmiibo(); break; case Service::NFP::CabinetMode::StartFormatter: - nfp_device->DeleteAllData(); + nfp_device->Format(); break; default: UNIMPLEMENTED_MSG("Unknown CabinetMode={}", applet_input_common.applet_mode); |