Bravely Default/Second stuck #1822 (#2188)

* 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:
pippo2931
2016-11-23 19:57:56 -08:00
committed by bunnei
parent 4b8ba4551a
commit 0c9c97e5ea
4 changed files with 22 additions and 2 deletions

View File

@ -396,6 +396,15 @@ void StartLibraryApplet(Service::Interface* self) {
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) {
u32* cmd_buff = Kernel::GetCommandBuffer();