diff options
| author | 2023-05-25 14:07:16 -0700 | |
|---|---|---|
| committer | 2023-05-25 14:07:16 -0700 | |
| commit | ffa1fba7d632d69e564cce302b5e5cf4bf131071 (patch) | |
| tree | a601ac622b62f4931202e13a7cf733b6f580390a /src/core/hle/service/nfc | |
| parent | Merge pull request #10454 from 521337/fix-u-option (diff) | |
| parent | input_common: Implement amiibo writting (diff) | |
| download | yuzu-ffa1fba7d632d69e564cce302b5e5cf4bf131071.tar.gz yuzu-ffa1fba7d632d69e564cce302b5e5cf4bf131071.tar.xz yuzu-ffa1fba7d632d69e564cce302b5e5cf4bf131071.zip | |
Merge pull request #10396 from german77/amiibo_write
input_common: Implement amiibo writing
Diffstat (limited to 'src/core/hle/service/nfc')
| -rw-r--r-- | src/core/hle/service/nfc/common/device.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/hle/service/nfc/common/device.cpp b/src/core/hle/service/nfc/common/device.cpp index e5d4545a8..0bd7900e1 100644 --- a/src/core/hle/service/nfc/common/device.cpp +++ b/src/core/hle/service/nfc/common/device.cpp | |||
| @@ -426,11 +426,11 @@ Result NfcDevice::Flush() { | |||
| 426 | 426 | ||
| 427 | tag_data.write_counter++; | 427 | tag_data.write_counter++; |
| 428 | 428 | ||
| 429 | FlushWithBreak(NFP::BreakType::Normal); | 429 | const auto result = FlushWithBreak(NFP::BreakType::Normal); |
| 430 | 430 | ||
| 431 | is_data_moddified = false; | 431 | is_data_moddified = false; |
| 432 | 432 | ||
| 433 | return ResultSuccess; | 433 | return result; |
| 434 | } | 434 | } |
| 435 | 435 | ||
| 436 | Result NfcDevice::FlushDebug() { | 436 | Result NfcDevice::FlushDebug() { |
| @@ -449,11 +449,11 @@ Result NfcDevice::FlushDebug() { | |||
| 449 | 449 | ||
| 450 | tag_data.write_counter++; | 450 | tag_data.write_counter++; |
| 451 | 451 | ||
| 452 | FlushWithBreak(NFP::BreakType::Normal); | 452 | const auto result = FlushWithBreak(NFP::BreakType::Normal); |
| 453 | 453 | ||
| 454 | is_data_moddified = false; | 454 | is_data_moddified = false; |
| 455 | 455 | ||
| 456 | return ResultSuccess; | 456 | return result; |
| 457 | } | 457 | } |
| 458 | 458 | ||
| 459 | Result NfcDevice::FlushWithBreak(NFP::BreakType break_type) { | 459 | Result NfcDevice::FlushWithBreak(NFP::BreakType break_type) { |