mirror of
https://gitlab.com/suyu-emu/suyu.git
synced 2024-03-15 23:15:44 +00:00
software_keyboard: Implement Finalize request command
This commit is contained in:
parent
3e6e0d8f13
commit
886043a6d2
|
@ -121,6 +121,10 @@ void SoftwareKeyboard::ExecuteInteractive() {
|
||||||
std::memcpy(&request, data.data(), sizeof(Request));
|
std::memcpy(&request, data.data(), sizeof(Request));
|
||||||
|
|
||||||
switch (request) {
|
switch (request) {
|
||||||
|
case Request::Finalize:
|
||||||
|
complete = true;
|
||||||
|
broker.SignalStateChanged();
|
||||||
|
break;
|
||||||
case Request::Calc: {
|
case Request::Calc: {
|
||||||
broker.PushNormalDataFromApplet(std::make_shared<IStorage>(system, std::vector<u8>{1}));
|
broker.PushNormalDataFromApplet(std::make_shared<IStorage>(system, std::vector<u8>{1}));
|
||||||
broker.SignalStateChanged();
|
broker.SignalStateChanged();
|
||||||
|
|
Loading…
Reference in a new issue