diff --git a/src/core/hle/service/filesystem/fsp/fsp_srv.cpp b/src/core/hle/service/filesystem/fsp/fsp_srv.cpp index 9d59f96973..0503be378c 100644 --- a/src/core/hle/service/filesystem/fsp/fsp_srv.cpp +++ b/src/core/hle/service/filesystem/fsp/fsp_srv.cpp @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project +// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project // SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project @@ -144,7 +144,7 @@ FSP_SRV::FSP_SRV(Core::System& system_) {617, nullptr, "UnregisterExternalKey"}, {620, nullptr, "SetSdCardEncryptionSeed"}, {630, nullptr, "SetSdCardAccessibility"}, - {631, nullptr, "IsSdCardAccessible"}, + {631, D<&FSP_SRV::IsSdCardAccessible>, "IsSdCardAccessible"}, {640, nullptr, "IsSignedSystemPartitionOnSdCardValid"}, {700, nullptr, "OpenAccessFailureResolver"}, {701, nullptr, "GetAccessFailureDetectionEvent"}, @@ -524,6 +524,14 @@ Result FSP_SRV::OpenDataStorageWithProgramIndex(OutInterface out_inter R_SUCCEED(); } +Result FSP_SRV::IsSdCardAccessible(Out out_is_accessible) { + LOG_DEBUG(Service_FS, "(STUBBED) called"); + + *out_is_accessible = true; + + R_SUCCEED(); +} + Result FSP_SRV::DisableAutoSaveDataCreation() { LOG_DEBUG(Service_FS, "called"); diff --git a/src/core/hle/service/filesystem/fsp/fsp_srv.h b/src/core/hle/service/filesystem/fsp/fsp_srv.h index ee52cec62c..0ea41903e4 100644 --- a/src/core/hle/service/filesystem/fsp/fsp_srv.h +++ b/src/core/hle/service/filesystem/fsp/fsp_srv.h @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project +// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project // SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project @@ -101,6 +101,7 @@ private: Result OpenPatchDataStorageByCurrentProcess(OutInterface out_interface, FileSys::StorageId storage_id, u64 title_id); Result OpenDataStorageWithProgramIndex(OutInterface out_interface, u8 program_index); + Result IsSdCardAccessible(Out out_is_accessible); Result DisableAutoSaveDataCreation(); Result SetGlobalAccessLogMode(AccessLogMode access_log_mode_); Result GetGlobalAccessLogMode(Out out_access_log_mode);