mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-23 01:37:58 -05:00
applet: Add operation completed callback
This commit is contained in:
@ -605,8 +605,10 @@ private:
|
||||
ASSERT(applet != nullptr);
|
||||
|
||||
applet->Initialize(storage_stack);
|
||||
storage_stack.clear();
|
||||
interactive_storage_stack.clear();
|
||||
while (!storage_stack.empty())
|
||||
storage_stack.pop();
|
||||
while (!interactive_storage_stack.empty())
|
||||
interactive_storage_stack.pop();
|
||||
applet->Execute([this](IStorage storage) { AppletStorageProxyOutData(storage); },
|
||||
[this](IStorage storage) { AppletStorageProxyOutInteractiveData(storage); },
|
||||
[this] { state_changed_event->Signal(); });
|
||||
|
@ -87,7 +87,7 @@ void SoftwareKeyboard::ReceiveInteractiveData(std::shared_ptr<IStorage> storage)
|
||||
std::array<char16_t, SWKBD_OUTPUT_INTERACTIVE_BUFFER_SIZE / 2 - 2> string;
|
||||
std::memcpy(string.data(), data.data() + 4, string.size() * 2);
|
||||
frontend.SendTextCheckDialog(
|
||||
Common::UTF16StringFromFixedZeroTerminatedBuffer(string.data(), string.size()));
|
||||
Common::UTF16StringFromFixedZeroTerminatedBuffer(string.data(), string.size()), state);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user