input_common: Implement amiibo writting
This commit is contained in:
parent
1e398e6c36
commit
fdb2002f77
8 changed files with 387 additions and 68 deletions
|
@ -421,11 +421,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() {
|
||||
|
@ -444,11 +444,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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue