From bed2d6c425c649ff587b80d617597f3eca359da1 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 24 Oct 2018 09:37:29 -0400 Subject: yuzu/main: Notify user of loading errors with Amiibo data We shouldn't silently continue if loading failed, since the general assumption is that no messages showing up implicitly indicates success. --- src/core/hle/service/nfp/nfp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/hle/service/nfp/nfp.h') diff --git a/src/core/hle/service/nfp/nfp.h b/src/core/hle/service/nfp/nfp.h index 46370dedd..5c0ae8a54 100644 --- a/src/core/hle/service/nfp/nfp.h +++ b/src/core/hle/service/nfp/nfp.h @@ -32,7 +32,7 @@ public: static_assert(sizeof(AmiiboFile) == 0x94, "AmiiboFile is an invalid size"); void CreateUserInterface(Kernel::HLERequestContext& ctx); - void LoadAmiibo(const std::vector& buffer); + bool LoadAmiibo(const std::vector& buffer); const Kernel::SharedPtr& GetNFCEvent() const; const AmiiboFile& GetAmiiboBuffer() const; -- cgit v1.2.3