summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/apt (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-10-10hle: Remove a large amount of 3ds-specific service code.bunnei10-2266/+0
2017-09-30Fixed type conversion ambiguityHuw Pascoe1-2/+2
2017-09-26HLE/APT: Always set up the APT parameter when starting a library applet.Subv2-30/+47
Only use the HLE interface if an HLE applet with the desired id was started. This commit reorganizes the APT code surrounding parameter creation and delivery to make it easier to support LLE applets in the future. As future work, the HLE applet interface can be reworked to utilize the same facilities as the LLE interface.
2017-09-24HLE/APT: Always return an error from PrepareToStartNewestHomeMenu so that the Home Menu doesn't try to reboot the system.Subv3-2/+26
As per 3dbrew: "During Home Menu start-up it uses APT:PrepareToStartNewestHomeMenu. If that doesn't return an error(normally NS returns 0xC8A0CFFC for that), Home Menu starts a hardware reboot with APT:StartNewestHomeMenu etc. "
2017-09-24HLE/APT: Prepare the APT Wakeup parameter when the game calls InitializeSubv1-6/+19
We need to know what is being run so we can set the APT parameter destination AppId correctly. Delaying the preparation of the parameter until we know which AppId is running lets us support booting both the Home Menu and normal game Applications.
2017-09-03APT: load different shared font depending on the regionwwylele1-134/+152
2017-08-07Services/APT: Use the AppletAttributes union directly when dealing with applet attrs.Subv1-19/+15
2017-08-07Services/APT: Use an array to hold data about the 4 possible concurrent applet types (Application, Library, HomeMenu, System).Subv2-35/+204
This gives each applet type its own set of events as per the real NS module.
2017-08-04telemetry: Add field for RequiresSharedFont.bunnei1-0/+4
2017-07-21Service/APT: Log Send/Cancel/Receive/GlanceParameter calls even if they return an error.Subv1-7/+9
2017-07-21Services/APT: Return the proper error code when calling SendParameter with an outstanding parameter already in memory.Subv2-4/+17
2017-07-21Services/APT: Reset the APT parameter inside CancelParameter if the conditions are met.Subv1-6/+23
2017-07-21Services/APT: Properly clear the apt parameter after a successful ReceiveParameter call.Subv1-2/+8
2017-07-21Services/APT: Use the right error codes in ReceiveParameter and GlanceParameter when the parameter doesn't exist.Subv1-0/+28
2017-07-21Services/APT: Use boost::optional for the APT parameter structure.Subv1-20/+26
2017-06-26apt: load shared font from system archivewwylele1-20/+134
2017-06-25apt/shared_font: don't relocate zero offsetwwylele1-2/+4
2017-06-22Memory: Make PhysicalToVirtualAddress return a boost::optionalYuri Kunde Schlesner1-1/+1
And fix a few places in the code to take advantage of that.
2017-06-19ResultVal: Remove MoveFrom()Yuri Kunde Schlesner1-6/+6
Replace it with std::move(result_val).Unwrap(), or Foo().Unwrap() in case you already have an rvalue.
2017-06-03Created a whitelist of system archives to prevent false positives creating dialogs.TheKoopaKingdom1-3/+2
2017-06-03Added system for handling core errors in citra-qt.TheKoopaKingdom1-2/+5
2017-05-30Kernel: Move HandleTable to a separate fileYuri Kunde Schlesner1-0/+2
2017-03-20hopefully fix clang-format issues with old versionLectem1-3/+2
2017-03-19address more commentsLectem1-20/+20
2017-03-18Cast size_t to u32 for PushStaticBuffer usagesLectem1-2/+2
2017-03-18IPCHelper Skip method + address comments for aptLectem1-36/+38
2017-03-18apt: fix RequestBuilder parameters for Unwrapwwylele1-1/+1
2017-03-18fix #2560 and other commentsLectem1-19/+19
2017-03-18refactor APT service to use the new IPC helpersLectem1-191/+236
2017-02-21APT: implement Wrap and Unwrapwwylele5-6/+149
2016-12-14Fixed the codestyle to match our clang-format rules.Subv1-1/+2
2016-12-11APT::GetStartupArgument: force clear startup argumentmailwl2-5/+11
2016-12-08apt: Update apt function tablesLioncash2-7/+73
Updated based off information from 3dbrew.
2016-12-05HLE: Use a member variable instead of a virtual function to retrieve the max number of sessions that can be connected to an HLE service at the same time.Subv4-3/+5
2016-11-24Bravely Default/Second stuck #1822 (#2188)pippo29314-2/+22
* Bravely Default/Second stuck #1822 CancelLibraryApplet stub * Log parameter. * Taking care of comments * Sync with 3DBrew * White space ? * lower case
2016-11-19APT/Applets: Renamed the members of the SignalType enum.Subv2-7/+18
Names now make sense and match 3dbrew.
2016-09-21Use negative priorities to avoid special-casing the self-includeYuri Kunde Schlesner4-4/+4
2016-09-21Remove empty newlines in #include blocks.Emmanuel Gil Peyrot3-9/+5
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
2016-09-19Manually tweak source formatting and then re-run clang-formatYuri Kunde Schlesner5-18/+17
2016-09-18Sources: Run clang-format on everything.Emmanuel Gil Peyrot5-311/+337
2016-08-27Auto-detect original shared_font.bin memory baseYuri Kunde Schlesner3-30/+68
This allows a file dumped from either an o3DS or a n3DS (and potentially even an original unrebased file) to be used.
2016-08-02fix #1942 and adds a few IPC functions for descriptorsLectem1-2/+2
2016-07-28Instead of segfaulting, log an error to remind the user to dump the shared font fileHenrik Rydgard1-0/+7
2016-07-15Correct APT::0x00550040 and APT::0x00560000 functionJamePeng5-22/+31
2016-07-04HLE/Applets: Implement ErrEula appletmailwl1-0/+8
2016-05-21APT: Remove use of Memory::GetPointerMerryMage2-16/+15
2016-05-13APT: Move the shared font loading and relocation functions to their own subdirectory services/apt/bcfnt.Subv3-66/+165
2016-05-13APT: Implement relocating the shared font to its true address.Subv1-9/+74
2016-05-13Kernel/SharedMemory: Properly implemented shared memory support.Subv1-26/+12
Applications can request the kernel to allocate a piece of the linear heap for them when creating a shared memory object. Shared memory areas are now properly mapped into the target processes when calling svcMapMemoryBlock. Removed the APT Shared Font hack as it is no longer needed.
2016-05-07HLE/Applets: Use the correct size for the framebuffer SharedMemory in the swkbd and MiiSelector applets.Subv1-0/+15
2016-04-20Implement CheckNew3DS and CheckNew3DSAppJamePeng5-7/+110
Append an item[is_new3ds] to config file[System] group Implement APT::SetNSStateField,it will update the unknown NS_state_field
2016-04-06append SetAppCpuTimeLimit and GetAppCpuTimeLimit to APT:AJamePeng3-13/+16
2016-04-04implement APT::GetStartupArgumentJamePeng5-2/+37
2016-04-04Append the missing function name"GetAppletInfo" to APT:AJamePeng1-1/+2
2016-03-13svc: Move ResetType enum to the kernel event headerLioncash1-2/+2
2016-03-12svc: Make ResetType an enum classLioncash1-2/+2
2016-03-12HLE/Applets: Implemented a dummy Mii Selector applet.Subv3-2/+36
This prevents some games (like Super Mario 3D Land) from freezing when trying to launch it, however, it's not complete and won't let you go past Mii selection as the parameter structure hasn't been reverse engineered yet.
2016-02-02services: Get rid of unnecessary includesLioncash4-8/+0
2015-12-30services: Update some function tablesLioncash2-0/+12
2015-08-27Core: Improve APT Shared Font hackYuri Kunde Schlesner1-2/+2
Should fix invalid read loops in some games
2015-08-16APT: Adjust shared font hack so it works with the new linear heap codeYuri Kunde Schlesner1-10/+11
2015-07-24Service/APT: Fixed a regression, PreloadLibraryApplet should also start an applet when called.Subv5-4/+35
2015-07-24Service/APT: Return proper parameters in GetLockHandle.Subv2-14/+37
Documented some APT functions This allows applets to boot.
2015-07-17Ensure all kernel objects are released during shutdownYuri Kunde Schlesner1-0/+3
This commit fixes several kernel object leaks. The most severe of them was threads not being removed from the private handle table used for CoreTiming events. This resulted in Threads never being released, which in turn held references to Process, causing CodeSets to never be freed when loading other applications.
2015-07-12Core: Fix applet includes using iwyu.Emmanuel Gil Peyrot1-3/+6
2015-07-12Applets: Reworked how the Applet update event is handled.Subv2-3/+3
Applets are now cleaned up in AppletUpdateEvent after calling their respective Update method.
2015-07-12Applets: Add infrastructure to allow custom drawing and input handling in Applets.Subv1-18/+27
2015-07-12HLE/APT: Initial HLE support for applets.Subv4-50/+173
Currently only the SWKBD is emulated, and there's currently no way to ask the user for input, so it always returns "Subv" as the text.
2015-06-23Add helpers to create IPC command buffer headers and descriptorsYuri Kunde Schlesner1-2/+4
2015-05-29Remove every trailing whitespace from the project (but externals).Emmanuel Gil Peyrot2-6/+6
2015-05-16APT/FS: Remove asserts that were causing false positivespurpasmart961-2/+0
2015-05-11Kernel: Capture SharedMemory attributes at creation, not when mappingYuri Kunde Schlesner1-1/+3
2015-05-07Common: Remove common.hYuri Kunde Schlesner3-4/+2
2015-05-02Services: Initialize all state variables at bootup.bunnei1-6/+11
2015-04-10APT: (Subv) Fix bug where start event was being incorrectly signaled.bunnei1-6/+7
2015-04-03Services: Stubs and minor changespurpasmart963-27/+102
2015-03-04Services: Moved the PTM and APT services to their own folderSubv8-0/+827
This coincidentally fixes an issue about the PTM service failing to create its SharedExtSaveData archive due to the FS service not being initialized by the time the creating code runs. Ideally I'd like to move each process to its own folder, and have a single file per process that registers the service classes, which would be in their own files inside that folder. Then each service class would just call functions from the process to complete the commands.