mirror of
https://github.com/PabloMK7/citra.git
synced 2025-09-12 05:40:04 +00:00
Merge branch 'master' into feature/savestates-2
This commit is contained in:
commit
9cd669db84
14 changed files with 130 additions and 106 deletions
|
@ -338,10 +338,12 @@ void Module::SyncTagState() {
|
|||
// detected on Scanning->TagInRange?
|
||||
nfc_tag_state = TagState::TagInRange;
|
||||
tag_in_range_event->Signal();
|
||||
} else if (!amiibo_in_range && nfc_tag_state == TagState::TagInRange) {
|
||||
nfc_tag_state = TagState::TagOutOfRange;
|
||||
} else if (!amiibo_in_range &&
|
||||
(nfc_tag_state == TagState::TagInRange || nfc_tag_state == TagState::TagDataLoaded ||
|
||||
nfc_tag_state == TagState::Unknown6)) {
|
||||
// TODO (wwylele): If a tag is removed during TagDataLoaded/Unknown6, should this event
|
||||
// signals early?
|
||||
nfc_tag_state = TagState::TagOutOfRange;
|
||||
tag_out_of_range_event->Signal();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue