summaryrefslogtreecommitdiff
path: root/src/core/hle/service/nfc
diff options
context:
space:
mode:
authorGravatar fearlessTobi2019-03-28 23:01:52 +0100
committerGravatar fearlessTobi2019-03-29 15:02:28 +0100
commitff7e6a42c1063a9783c1cf88a144577616c2ca86 (patch)
treec7b3c522750d203993bd3c92f77dcf7b1d6b8254 /src/core/hle/service/nfc
parentMerge pull request #2285 from lioncash/unused-struct (diff)
downloadyuzu-ff7e6a42c1063a9783c1cf88a144577616c2ca86.tar.gz
yuzu-ff7e6a42c1063a9783c1cf88a144577616c2ca86.tar.xz
yuzu-ff7e6a42c1063a9783c1cf88a144577616c2ca86.zip
core/yuzu: Remove enable_nfc setting
This was initially added to prevent problems from stubbed/not implemented NFC services, but as we never encountered such and as it's only used in a deprecated function anyway, I guess we can just remove it to prevent more clutter of the settings.
Diffstat (limited to 'src/core/hle/service/nfc')
-rw-r--r--src/core/hle/service/nfc/nfc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/nfc/nfc.cpp b/src/core/hle/service/nfc/nfc.cpp
index 5c62d42ba..ca88bf97f 100644
--- a/src/core/hle/service/nfc/nfc.cpp
+++ b/src/core/hle/service/nfc/nfc.cpp
@@ -150,7 +150,7 @@ private:
150 150
151 IPC::ResponseBuilder rb{ctx, 3}; 151 IPC::ResponseBuilder rb{ctx, 3};
152 rb.Push(RESULT_SUCCESS); 152 rb.Push(RESULT_SUCCESS);
153 rb.PushRaw<u8>(Settings::values.enable_nfc); 153 rb.PushRaw<u8>(true);
154 } 154 }
155 155
156 void GetStateOld(Kernel::HLERequestContext& ctx) { 156 void GetStateOld(Kernel::HLERequestContext& ctx) {