yuzu-emu
/
yuzu-android
Archived
1
0
Fork 0

services: am: Clear events on PopOutData and PopInteractiveOutData.

This commit is contained in:
bunnei 2020-01-29 22:23:09 -05:00
parent 84e895cdd6
commit 77da74e17a
1 changed files with 2 additions and 0 deletions

View File

@ -56,6 +56,7 @@ std::unique_ptr<IStorage> AppletDataBroker::PopNormalDataToGame() {
auto out = std::move(out_channel.front()); auto out = std::move(out_channel.front());
out_channel.pop_front(); out_channel.pop_front();
pop_out_data_event.writable->Clear();
return out; return out;
} }
@ -74,6 +75,7 @@ std::unique_ptr<IStorage> AppletDataBroker::PopInteractiveDataToGame() {
auto out = std::move(out_interactive_channel.front()); auto out = std::move(out_interactive_channel.front());
out_interactive_channel.pop_front(); out_interactive_channel.pop_front();
pop_interactive_out_data_event.writable->Clear();
return out; return out;
} }