1
0
mirror of https://git.suyu.dev/suyu/suyu synced 2025-09-08 15:26:33 -05:00

Merge pull request #10396 from german77/amiibo_write

input_common: Implement amiibo writing
This commit is contained in:
bunnei
2023-05-25 14:07:16 -07:00
committed by GitHub
8 changed files with 387 additions and 68 deletions

View File

@@ -426,11 +426,11 @@ Result NfcDevice::Flush() {
tag_data.write_counter++;
FlushWithBreak(NFP::BreakType::Normal);
const auto result = FlushWithBreak(NFP::BreakType::Normal);
is_data_moddified = false;
return ResultSuccess;
return result;
}
Result NfcDevice::FlushDebug() {
@@ -449,11 +449,11 @@ Result NfcDevice::FlushDebug() {
tag_data.write_counter++;
FlushWithBreak(NFP::BreakType::Normal);
const auto result = FlushWithBreak(NFP::BreakType::Normal);
is_data_moddified = false;
return ResultSuccess;
return result;
}
Result NfcDevice::FlushWithBreak(NFP::BreakType break_type) {