[fsp-svr] Stub IsSdCardAcccessible (#3443)
without it, some games prevent booting into it Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3443 Reviewed-by: DraVee <dravee@eden-emu.dev> Reviewed-by: MaranBr <maranbr@eden-emu.dev> Co-authored-by: Maufeat <sahyno1996@gmail.com> Co-committed-by: Maufeat <sahyno1996@gmail.com>
This commit is contained in:
parent
6637810fe6
commit
2e432c9d17
|
|
@ -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-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
|
// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
|
||||||
|
|
@ -144,7 +144,7 @@ FSP_SRV::FSP_SRV(Core::System& system_)
|
||||||
{617, nullptr, "UnregisterExternalKey"},
|
{617, nullptr, "UnregisterExternalKey"},
|
||||||
{620, nullptr, "SetSdCardEncryptionSeed"},
|
{620, nullptr, "SetSdCardEncryptionSeed"},
|
||||||
{630, nullptr, "SetSdCardAccessibility"},
|
{630, nullptr, "SetSdCardAccessibility"},
|
||||||
{631, nullptr, "IsSdCardAccessible"},
|
{631, D<&FSP_SRV::IsSdCardAccessible>, "IsSdCardAccessible"},
|
||||||
{640, nullptr, "IsSignedSystemPartitionOnSdCardValid"},
|
{640, nullptr, "IsSignedSystemPartitionOnSdCardValid"},
|
||||||
{700, nullptr, "OpenAccessFailureResolver"},
|
{700, nullptr, "OpenAccessFailureResolver"},
|
||||||
{701, nullptr, "GetAccessFailureDetectionEvent"},
|
{701, nullptr, "GetAccessFailureDetectionEvent"},
|
||||||
|
|
@ -524,6 +524,14 @@ Result FSP_SRV::OpenDataStorageWithProgramIndex(OutInterface<IStorage> out_inter
|
||||||
R_SUCCEED();
|
R_SUCCEED();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Result FSP_SRV::IsSdCardAccessible(Out<bool> out_is_accessible) {
|
||||||
|
LOG_DEBUG(Service_FS, "(STUBBED) called");
|
||||||
|
|
||||||
|
*out_is_accessible = true;
|
||||||
|
|
||||||
|
R_SUCCEED();
|
||||||
|
}
|
||||||
|
|
||||||
Result FSP_SRV::DisableAutoSaveDataCreation() {
|
Result FSP_SRV::DisableAutoSaveDataCreation() {
|
||||||
LOG_DEBUG(Service_FS, "called");
|
LOG_DEBUG(Service_FS, "called");
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
|
// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
|
||||||
|
|
@ -101,6 +101,7 @@ private:
|
||||||
Result OpenPatchDataStorageByCurrentProcess(OutInterface<IStorage> out_interface,
|
Result OpenPatchDataStorageByCurrentProcess(OutInterface<IStorage> out_interface,
|
||||||
FileSys::StorageId storage_id, u64 title_id);
|
FileSys::StorageId storage_id, u64 title_id);
|
||||||
Result OpenDataStorageWithProgramIndex(OutInterface<IStorage> out_interface, u8 program_index);
|
Result OpenDataStorageWithProgramIndex(OutInterface<IStorage> out_interface, u8 program_index);
|
||||||
|
Result IsSdCardAccessible(Out<bool> out_is_accessible);
|
||||||
Result DisableAutoSaveDataCreation();
|
Result DisableAutoSaveDataCreation();
|
||||||
Result SetGlobalAccessLogMode(AccessLogMode access_log_mode_);
|
Result SetGlobalAccessLogMode(AccessLogMode access_log_mode_);
|
||||||
Result GetGlobalAccessLogMode(Out<AccessLogMode> out_access_log_mode);
|
Result GetGlobalAccessLogMode(Out<AccessLogMode> out_access_log_mode);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue