diff options
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 322bde2ed..8a7e9edac 100644 --- a/src/core/hle/service/nfc/common/device.cpp +++ b/src/core/hle/service/nfc/common/device.cpp | |||
| @@ -421,11 +421,11 @@ Result NfcDevice::Flush() { | |||
| 421 | 421 | ||
| 422 | tag_data.write_counter++; | 422 | tag_data.write_counter++; |
| 423 | 423 | ||
| 424 | FlushWithBreak(NFP::BreakType::Normal); | 424 | const auto result = FlushWithBreak(NFP::BreakType::Normal); |
| 425 | 425 | ||
| 426 | is_data_moddified = false; | 426 | is_data_moddified = false; |
| 427 | 427 | ||
| 428 | return ResultSuccess; | 428 | return result; |
| 429 | } | 429 | } |
| 430 | 430 | ||
| 431 | Result NfcDevice::FlushDebug() { | 431 | Result NfcDevice::FlushDebug() { |
| @@ -444,11 +444,11 @@ Result NfcDevice::FlushDebug() { | |||
| 444 | 444 | ||
| 445 | tag_data.write_counter++; | 445 | tag_data.write_counter++; |
| 446 | 446 | ||
| 447 | FlushWithBreak(NFP::BreakType::Normal); | 447 | const auto result = FlushWithBreak(NFP::BreakType::Normal); |
| 448 | 448 | ||
| 449 | is_data_moddified = false; | 449 | is_data_moddified = false; |
| 450 | 450 | ||
| 451 | return ResultSuccess; | 451 | return result; |
| 452 | } | 452 | } |
| 453 | 453 | ||
| 454 | Result NfcDevice::FlushWithBreak(NFP::BreakType break_type) { | 454 | Result NfcDevice::FlushWithBreak(NFP::BreakType break_type) { |