mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-20 20:49:12 +12:00
[Applets] Properly expose nextParameter
This commit is contained in:
parent
135c8cb508
commit
60b565273e
5 changed files with 15 additions and 4 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
using namespace Applets;
|
||||
|
||||
AppletManager::AppletManager(Memory& mem) : miiSelector(mem), swkbd(mem) {}
|
||||
AppletManager::AppletManager(Memory& mem) : miiSelector(mem, nextParameter), swkbd(mem, nextParameter) {}
|
||||
|
||||
void AppletManager::reset() {
|
||||
miiSelector.reset();
|
||||
|
|
|
@ -7,5 +7,14 @@ Result::HorizonResult SoftwareKeyboardApplet::start() { return Result::Success;
|
|||
|
||||
Result::HorizonResult SoftwareKeyboardApplet::receiveParameter() {
|
||||
Helpers::warn("Software keyboard: Unimplemented ReceiveParameter");
|
||||
|
||||
Applets::Parameter param = Applets::Parameter{
|
||||
.senderID = AppletIDs::SoftwareKeyboard,
|
||||
.destID = AppletIDs::Application,
|
||||
.signal = APTSignal::Response,
|
||||
.data = {},
|
||||
};
|
||||
|
||||
nextParameter = param;
|
||||
return Result::Success;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue