* Bravely Default/Second stuck #1822 CancelLibraryApplet stub * Log parameter. * Taking care of comments * Sync with 3DBrew * White space ? * lower case
This commit is contained in:
parent
4b8ba4551a
commit
0c9c97e5ea
|
@ -396,6 +396,15 @@ void StartLibraryApplet(Service::Interface* self) {
|
||||||
cmd_buff[1] = applet->Start(parameter).raw;
|
cmd_buff[1] = applet->Start(parameter).raw;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void CancelLibraryApplet(Service::Interface* self) {
|
||||||
|
u32* cmd_buff = Kernel::GetCommandBuffer();
|
||||||
|
u32 exiting = cmd_buff[1] & 0xFF;
|
||||||
|
|
||||||
|
cmd_buff[1] = 1; // TODO: Find the return code meaning
|
||||||
|
|
||||||
|
LOG_WARNING(Service_APT, "(STUBBED) called exiting=%u", exiting);
|
||||||
|
}
|
||||||
|
|
||||||
void SetScreenCapPostPermission(Service::Interface* self) {
|
void SetScreenCapPostPermission(Service::Interface* self) {
|
||||||
u32* cmd_buff = Kernel::GetCommandBuffer();
|
u32* cmd_buff = Kernel::GetCommandBuffer();
|
||||||
|
|
||||||
|
|
|
@ -391,6 +391,17 @@ void PreloadLibraryApplet(Service::Interface* self);
|
||||||
*/
|
*/
|
||||||
void StartLibraryApplet(Service::Interface* self);
|
void StartLibraryApplet(Service::Interface* self);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* APT::CancelLibraryApplet service function
|
||||||
|
* Inputs:
|
||||||
|
* 0 : Command header [0x003B0040]
|
||||||
|
* 1 : u8, Application exiting (0 = not exiting, 1 = exiting)
|
||||||
|
* Outputs:
|
||||||
|
* 0 : Header code
|
||||||
|
* 1 : Result code
|
||||||
|
*/
|
||||||
|
void CancelLibraryApplet(Service::Interface* self);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* APT::GetStartupArgument service function
|
* APT::GetStartupArgument service function
|
||||||
* Inputs:
|
* Inputs:
|
||||||
|
|
|
@ -25,7 +25,7 @@ const Interface::FunctionInfo FunctionTable[] = {
|
||||||
{0x00160040, PreloadLibraryApplet, "PreloadLibraryApplet"},
|
{0x00160040, PreloadLibraryApplet, "PreloadLibraryApplet"},
|
||||||
{0x00180040, PrepareToStartLibraryApplet, "PrepareToStartLibraryApplet"},
|
{0x00180040, PrepareToStartLibraryApplet, "PrepareToStartLibraryApplet"},
|
||||||
{0x001E0084, StartLibraryApplet, "StartLibraryApplet"},
|
{0x001E0084, StartLibraryApplet, "StartLibraryApplet"},
|
||||||
{0x003B0040, nullptr, "CancelLibraryApplet?"},
|
{0x003B0040, CancelLibraryApplet, "CancelLibraryApplet"},
|
||||||
{0x003E0080, nullptr, "ReplySleepQuery"},
|
{0x003E0080, nullptr, "ReplySleepQuery"},
|
||||||
{0x00430040, NotifyToWait, "NotifyToWait?"},
|
{0x00430040, NotifyToWait, "NotifyToWait?"},
|
||||||
{0x00440000, GetSharedFont, "GetSharedFont?"},
|
{0x00440000, GetSharedFont, "GetSharedFont?"},
|
||||||
|
|
|
@ -67,7 +67,7 @@ const Interface::FunctionInfo FunctionTable[] = {
|
||||||
{0x00380040, nullptr, "PreloadResidentApplet"},
|
{0x00380040, nullptr, "PreloadResidentApplet"},
|
||||||
{0x00390040, nullptr, "PrepareToStartResidentApplet"},
|
{0x00390040, nullptr, "PrepareToStartResidentApplet"},
|
||||||
{0x003A0044, nullptr, "StartResidentApplet"},
|
{0x003A0044, nullptr, "StartResidentApplet"},
|
||||||
{0x003B0040, nullptr, "CancelLibraryApplet"},
|
{0x003B0040, CancelLibraryApplet, "CancelLibraryApplet"},
|
||||||
{0x003C0042, nullptr, "SendDspSleep"},
|
{0x003C0042, nullptr, "SendDspSleep"},
|
||||||
{0x003D0042, nullptr, "SendDspWakeUp"},
|
{0x003D0042, nullptr, "SendDspWakeUp"},
|
||||||
{0x003E0080, nullptr, "ReplySleepQuery"},
|
{0x003E0080, nullptr, "ReplySleepQuery"},
|
||||||
|
|
Reference in New Issue