aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/am/am.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Revert "[hle] constexpr handler dispatch maps, introduce version gating ↵PavelBARABANOV2026-10-151-1330/+8
| | | | | | | | | | | | | | | | | (#4480)" (#4532) This reverts commit 218c6705d950635bc18f8458d738a1996fb592b6. - [x] I have read and followed the [Contribution Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/CONTRIBUTING.md#code-contributions). - [x] I have read and followed the [AI Policy](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/AI.md). - [x] I have read and followed the [Coding Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/Coding.md) to the best of my ability. ------------------- Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4532 Reviewed-by: lizzie <lizzie@eden-emu.dev> Reviewed-by: CamilleLaVey <camillelavey99@gmail.com> Reviewed-by: Maufeat <sahyno1996@gmail.com>
* [hle] constexpr handler dispatch maps, introduce version gating (#4480)lizzie2026-10-131-8/+1333
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This PR primarily focuses on upbringing constexpr maps for handlers. Each time an HLE object of a service is construed, it registers it's own handlers, over and over. Regardless of whetever it needs them at the moment or not. Additionally we don't require to keep track of different function pointers amongst each object. This can be done by overriding the given function instead, as opposed to having a separate hash map for every given object. In other words: Remove handlers (and handlers_tipc) map for every instance then read from a static defined per-class. - [x] Migrate all HLE functions to new `frozen::map` constexpr time finder - [ ] Measure if this approach actually makes better codegen Optional: - [x] Properly gate all functions (that have versions commented next to them) - [x] Maybe store `HandlerFnP<>` and `const char*` separately, version gating can go in a different map as well Information such as name can be used on debug builds, but doesn't particularly help on release as one can consult an external reference (or have an annotated IPC map) Signed-off-by: lizzie <lizzie@eden-emu.dev> - [x] I have read and followed the [Contribution Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/CONTRIBUTING.md#code-contributions). - [x] I have read and followed the [AI Policy](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/AI.md) - [x] I have read and followed the [Coding Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/Coding.md) to the best of my ability. ------------------- Co-authored-by: Maufeat <sahyno1996@gmail.com> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4480 Reviewed-by: Maufeat <sahyno1996@gmail.com> Reviewed-by: MaranBr <maranbr@eden-emu.dev>
* "Merge Tagged PR 13018"yuzubot2024-03-031-4/+11
|
* nvnflinger: convert to processLiam2024-02-171-5/+5
|
* am: move out omm interfaces to new moduleLiam2024-02-121-6/+0
|
* am: rewrite appletAE, appletOELiam2024-02-111-6/+6
|
* am: migrate global state to per-applet state structureLiam2024-01-291-6/+4
|
* service: split am into componentsLiam2024-01-291-2676/+1
|
* service: am: Focus state changed goes lastgerman772024-01-281-1/+1
|
* fsp-srv: use program registry for SetCurrentProcessLiam2024-01-111-3/+4
|
* hid_core: Move hid to it's own subprojectNarr the Reg2024-01-051-2/+2
|
* am/jit: reference memory instance from contextLiam2023-12-241-4/+2
|
* service: fetch objects from the client handle tableLiam2023-12-241-4/+2
|
* Implemented qlaunch version of the controller appletFrozenAra2023-11-191-3/+88
|
* Merge pull request #11929 from dima-xd/swkbd-appletliamwhite2023-10-311-2/+77
|\ | | | | service: am: Add support for LLE Software Keyboard Applet
| * service: am: Add support for LLE Software Keyboard AppletDzmitry Dubrova2023-10-311-2/+77
| |
* | Merge pull request #11892 from german77/pkm_screenshotliamwhite2023-10-311-2/+11
|\ \ | |/ |/| service: am: Implement ISelfController::SaveCurrentScreenshot
| * service: am: Implement ISelfController::SaveCurrentScreenshotNarr the Reg2023-10-261-2/+11
| |
* | core: Close all KEventsgerman772023-10-291-2/+6
|/
* service: acc: Implement functions needed for profile select (#11653)Narr the Reg2023-10-171-3/+38
|
* service: caps: Implement album manager and reorganize serviceNarr the Reg2023-10-071-1/+1
|
* service: Stub multiple functions to increase stability of album appletNarr the Reg2023-10-071-2/+82
|
* yuzu: Allow to launch album applet from firmwareNarr the Reg2023-10-021-0/+20
|
* Merge pull request #11632 from german77/hle_cabinetliamwhite2023-10-011-13/+153
|\ | | | | service: am: Add support for LLE Cabinet Applet
| * service: am: Implement shared bufferNarr the Reg2023-10-011-10/+109
| | | | | | | | Co-authored-by: Liam <byteslice@airmail.cc>
| * service: am: Set push in arguments according to the launched appletNarr the Reg2023-10-011-3/+44
| |
* | Don't send a double focus change messageKelebek12023-09-281-3/+0
|/
* service: am: Stub to exit applet cleanlygerman772023-09-231-3/+26
|
* service: am: Implement stuff needed for Mii Editgerman772023-09-231-6/+178
|
* Merge pull request #11483 from FearlessTobi/save-size-maxliamwhite2023-09-161-1/+13
|\ | | | | am: Stub GetSaveDataSizeMax
| * am: Stub GetSaveDataSizeMaxFearlessTobi2023-09-121-1/+13
| | | | | | | | Needed for Minecraft Legends.
* | am: Implement UserChannel parametersFearlessTobi2023-09-101-10/+30
| | | | | | | | Used by the Super Mairo 3D All-Stars collection.
* | am: Remove bcat from PopLaunchParameterFearlessTobi2023-09-091-20/+5
|/ | | | | | This never belonged here and has no use anymore since the Boxcat backend was removed. .
* Merge pull request #11384 from liamwhite/am-shutdownliamwhite2023-09-021-2/+6
|\ | | | | am: shorten shutdown timeout when lock is not held
| * am: shorten shutdown timeout when lock is not heldLiam2023-08-261-2/+6
| |
* | general: Use console mode helper across projectlat9nq2023-08-221-3/+2
| |
* | general: Convert use_docked_mode to an enumerationlat9nq2023-08-221-2/+4
|/ | | | Allows some special interactions with it in the Qt frontend.
* core: remove ResultVal typeLiam2023-08-081-10/+16
|
* service: am: Fix wrong interfaceNarr the Reg2023-08-021-0/+44
|
* Debug SetIdleTimeDetectionExtensionKelebek12023-07-181-2/+2
|
* am: stub CreateCacheStorageLiam2023-05-111-1/+32
|
* core: am: Demote TryPopFromFriendInvitationStorageChannel Log levelgerman772023-04-211-1/+1
|
* Merge pull request #9505 from liamwhite/request-exitliamwhite2023-03-291-1/+10
|\ | | | | applets: implement RequestExit
| * applets: implement RequestExitLiam2023-03-251-1/+10
| |
* | memory: rename global memory references to application memoryLiam2023-03-231-2/+4
|/
* kernel: convert KProcess to new styleLiam2023-03-121-1/+1
|
* hle: rename legacy errors to ResultsLiam2023-03-061-10/+10
|
* nvnflinger: fix nameLiam2023-03-011-12/+11
|
* service: move hle_ipc from kernelLiam2023-03-011-110/+105
|
* Merge pull request #9832 from liamwhite/hle-mpliamwhite2023-03-011-7/+12
|\ | | | | service: HLE multiprocess