aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/olsc/daemon_controller.cpp
diff options
context:
space:
mode:
authorunknown <sahyno1996@gmail.com>2025-10-17 22:23:21 +0200
committercrueter <crueter@eden-emu.dev>2025-10-17 22:23:21 +0200
commitde46b8e81753ecb491265b18c55cf883f749b4d3 (patch)
tree256a96abe7e5e54120dd4b3ad1f4c8c755863c77 /src/core/hle/service/olsc/daemon_controller.cpp
parent3e8fe622a7d1dc8ff9d3a34d975b556b8fd35a94 (diff)
[fs, qlaunch] add CreateSaveDataFileSystemWithCreationInfo2 and make qlaunch work again (#2760)
Fixes qlaunch regression I introduced previously. Add a few known structs. Adds CreateSaveDataFileSystemWithCreationInfo2, which is called when games are started via qlaunch and corrupts save files. Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2760 Reviewed-by: crueter <crueter@eden-emu.dev> Reviewed-by: MaranBr <maranbr@eden-emu.dev> Co-authored-by: unknown <sahyno1996@gmail.com> Co-committed-by: unknown <sahyno1996@gmail.com>
Diffstat (limited to 'src/core/hle/service/olsc/daemon_controller.cpp')
-rw-r--r--src/core/hle/service/olsc/daemon_controller.cpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/core/hle/service/olsc/daemon_controller.cpp b/src/core/hle/service/olsc/daemon_controller.cpp
index 7823780a84..fe4252c24a 100644
--- a/src/core/hle/service/olsc/daemon_controller.cpp
+++ b/src/core/hle/service/olsc/daemon_controller.cpp
@@ -1,3 +1,6 @@
+// SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project
+// SPDX-License-Identifier: GPL-3.0-or-later
+
// SPDX-FileCopyrightText: Copyright 2024 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
@@ -19,7 +22,7 @@ IDaemonController::IDaemonController(Core::System& system_)
{6, nullptr, "SetGlobalDownloadEnabledForAccount"},
{10, nullptr, "GetForbiddenSaveDataIndication"},
{11, nullptr, "GetStopperObject"},
- {12, nullptr, "GetState"},
+ {12, D<&IDaemonController::GetState>, "GetState"},
};
// clang-format on
@@ -37,4 +40,11 @@ Result IDaemonController::GetAutoTransferEnabledForAccountAndApplication(Out<boo
R_SUCCEED();
}
+Result IDaemonController::GetState(Out<u8> state, Common::UUID user_id, u64 application_id) {
+ LOG_WARNING(Service_OLSC, "(STUBBED) called, user_id={} application_id={:016X}",
+ user_id.FormattedString(), application_id);
+ *state = 0;
+ R_SUCCEED();
+}
+
} // namespace Service::OLSC