aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/spl/spl_module.cpp
diff options
context:
space:
mode:
authorxbzk <xbzk@eden-emu.dev>2026-07-23 21:59:55 +0200
committercrueter <crueter@eden-emu.dev>2026-07-23 21:59:55 +0200
commitb85f289048fc4ea3636761788e3126ab2e79d591 (patch)
tree9b409e5a7646c852142d2ccb29414b0b0a04ba50 /src/core/hle/service/spl/spl_module.cpp
parent89004124a55a5ce8c45a90dcb60afd8a107238c3 (diff)
[nce, fs] tico support, fix FS bug that would nuke entire 'switch' folder (#4086)
Contains the minimal set of functionalities to allow tico installer succeed, and tico work normally EXCEPT for game launching (which me or someone else will investigate later) First three commits are from PR 4012. The other six, kinda dizzy to explain each one. All were implemented based on tico source, switchbrew and libnx. Hopefully the commit messages will do. Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4086 Reviewed-by: Lizzie <lizzie@eden-emu.dev> Reviewed-by: Maufeat <sahyno1996@gmail.com>
Diffstat (limited to 'src/core/hle/service/spl/spl_module.cpp')
-rw-r--r--src/core/hle/service/spl/spl_module.cpp30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/core/hle/service/spl/spl_module.cpp b/src/core/hle/service/spl/spl_module.cpp
index 17c9f8a887..d62cecf9a2 100644
--- a/src/core/hle/service/spl/spl_module.cpp
+++ b/src/core/hle/service/spl/spl_module.cpp
@@ -59,6 +59,36 @@ void Module::Interface::ModularExponentiate(HLERequestContext& ctx) {
rb.Push(ResultSecureMonitorNotImplemented);
}
+void Module::Interface::GenerateAesKek(HLERequestContext& ctx) {
+ IPC::RequestParser rp{ctx};
+ [[maybe_unused]] const auto key_source = rp.PopRaw<KeySource>();
+ const auto generation = rp.Pop<u32>();
+ const auto option = rp.Pop<u32>();
+
+ LOG_WARNING(Service_SPL, "(STUBBED) called, generation={:#x}, option={:#x}", generation,
+ option);
+
+ AccessKey access_key{};
+
+ IPC::ResponseBuilder rb{ctx, 6};
+ rb.Push(ResultSuccess);
+ rb.PushRaw(access_key);
+}
+
+void Module::Interface::GenerateAesKey(HLERequestContext& ctx) {
+ IPC::RequestParser rp{ctx};
+ [[maybe_unused]] const auto access_key = rp.PopRaw<AccessKey>();
+ [[maybe_unused]] const auto key_source = rp.PopRaw<KeySource>();
+
+ LOG_WARNING(Service_SPL, "(STUBBED) called");
+
+ AesKey aes_key{};
+
+ IPC::ResponseBuilder rb{ctx, 6};
+ rb.Push(ResultSuccess);
+ rb.PushRaw(aes_key);
+}
+
void Module::Interface::SetConfig(HLERequestContext& ctx) {
UNIMPLEMENTED_MSG("SetConfig is not implemented!");