mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-06 14:15:41 +12:00
[Applet Manager] Fix resetting
This commit is contained in:
parent
aa40eaf4cc
commit
62af35c42b
2 changed files with 3 additions and 1 deletions
|
@ -7,6 +7,8 @@ using namespace Applets;
|
|||
AppletManager::AppletManager(Memory& mem) : miiSelector(mem, nextParameter), swkbd(mem, nextParameter) {}
|
||||
|
||||
void AppletManager::reset() {
|
||||
nextParameter = std::nullopt;
|
||||
|
||||
miiSelector.reset();
|
||||
swkbd.reset();
|
||||
}
|
||||
|
|
|
@ -291,7 +291,7 @@ void APTService::glanceParameter(u32 messagePointer) {
|
|||
// Sender App ID
|
||||
mem.write32(messagePointer + 8, parameter.senderID);
|
||||
// Command
|
||||
mem.write32(messagePointer + 12, static_cast<u32>(parameter.signal));
|
||||
mem.write32(messagePointer + 12, parameter.signal);
|
||||
// Size of parameter data
|
||||
mem.write32(messagePointer + 16, parameter.data.size());
|
||||
mem.write32(messagePointer + 20, 0);
|
||||
|
|
Loading…
Add table
Reference in a new issue