summaryrefslogtreecommitdiff
path: root/src/core/hle
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/service/nfc/common/device.cpp8
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
436Result NfcDevice::FlushDebug() { 436Result 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
459Result NfcDevice::FlushWithBreak(NFP::BreakType break_type) { 459Result NfcDevice::FlushWithBreak(NFP::BreakType break_type) {