diff options
| author | 2019-03-28 23:01:52 +0100 | |
|---|---|---|
| committer | 2019-03-29 15:02:28 +0100 | |
| commit | ff7e6a42c1063a9783c1cf88a144577616c2ca86 (patch) | |
| tree | c7b3c522750d203993bd3c92f77dcf7b1d6b8254 /src/core/hle/service/nfc | |
| parent | Merge pull request #2285 from lioncash/unused-struct (diff) | |
| download | yuzu-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.cpp | 2 |
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) { |