mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-11-24 16:50:06 +01:00
[olsc] Rename Unknown27 to GetDataInfoV2 and fix crash on FW19 (#3387)
Thanks to FW19, I know that 27 is GetDataInfoV2. Fixes crash on FW19. Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3387 Reviewed-by: MaranBr <maranbr@eden-emu.dev> Reviewed-by: crueter <crueter@eden-emu.dev> Co-authored-by: Maufeat <sahyno1996@gmail.com> Co-committed-by: Maufeat <sahyno1996@gmail.com>
This commit is contained in:
parent
4a5bec1cfc
commit
c59d12b0cd
2 changed files with 4 additions and 4 deletions
|
|
@ -28,7 +28,7 @@ IRemoteStorageController::IRemoteStorageController(Core::System& system_)
|
||||||
{15, nullptr, "RegisterUploadSaveDataTransferTaskForAutonomyRegistration"},
|
{15, nullptr, "RegisterUploadSaveDataTransferTaskForAutonomyRegistration"},
|
||||||
{16, nullptr, "CreateCleanupToDeleteSaveDataArchiveInfoTask"},
|
{16, nullptr, "CreateCleanupToDeleteSaveDataArchiveInfoTask"},
|
||||||
{17, nullptr, "ListDataInfo"},
|
{17, nullptr, "ListDataInfo"},
|
||||||
{18, nullptr, "GetDataInfo"},
|
{18, D<&IRemoteStorageController::GetDataInfo>, "GetDataInfoV1"},
|
||||||
{19, nullptr, "GetDataInfoCacheUpdateNativeHandleHolder"},
|
{19, nullptr, "GetDataInfoCacheUpdateNativeHandleHolder"},
|
||||||
{20, nullptr, "CreateSaveDataArchiveInfoCacheForSaveDataBackupUpdationTask"},
|
{20, nullptr, "CreateSaveDataArchiveInfoCacheForSaveDataBackupUpdationTask"},
|
||||||
{21, nullptr, "ListSecondarySaves"},
|
{21, nullptr, "ListSecondarySaves"},
|
||||||
|
|
@ -37,7 +37,7 @@ IRemoteStorageController::IRemoteStorageController(Core::System& system_)
|
||||||
{24, nullptr, "GetSecondarySaveDataInfo"},
|
{24, nullptr, "GetSecondarySaveDataInfo"},
|
||||||
{25, nullptr, "RegisterDownloadSaveDataTransferTaskForAutonomyRegistration"},
|
{25, nullptr, "RegisterDownloadSaveDataTransferTaskForAutonomyRegistration"},
|
||||||
{26, nullptr, "Unknown26"}, //20.0.0+
|
{26, nullptr, "Unknown26"}, //20.0.0+
|
||||||
{27, D<&IRemoteStorageController::Unknown27>, "Unknown27"}, //20.0.0+
|
{27, D<&IRemoteStorageController::GetDataInfo>, "GetDataInfoV2"}, //20.0.0+
|
||||||
{28, nullptr, "Unknown28"}, //20.0.0+
|
{28, nullptr, "Unknown28"}, //20.0.0+
|
||||||
{29, nullptr, "Unknown29"}, //21.0.0+
|
{29, nullptr, "Unknown29"}, //21.0.0+
|
||||||
{800, nullptr, "Unknown800"}, //20.0.0+
|
{800, nullptr, "Unknown800"}, //20.0.0+
|
||||||
|
|
@ -67,7 +67,7 @@ Result IRemoteStorageController::GetDataNewnessByApplicationId(Out<u8> out_newne
|
||||||
R_SUCCEED();
|
R_SUCCEED();
|
||||||
}
|
}
|
||||||
|
|
||||||
Result IRemoteStorageController::Unknown27(Out<std::array<u8, 0x38>> out_data, u64 application_id) {
|
Result IRemoteStorageController::GetDataInfo(Out<std::array<u8, 0x38>> out_data, u64 application_id) {
|
||||||
LOG_WARNING(Service_OLSC, "(STUBBED) called, application_id={:016X}", application_id);
|
LOG_WARNING(Service_OLSC, "(STUBBED) called, application_id={:016X}", application_id);
|
||||||
out_data->fill(0);
|
out_data->fill(0);
|
||||||
R_SUCCEED();
|
R_SUCCEED();
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ private:
|
||||||
Result GetSecondarySave(Out<bool> out_has_secondary_save, Out<std::array<u64, 3>> out_unknown,
|
Result GetSecondarySave(Out<bool> out_has_secondary_save, Out<std::array<u64, 3>> out_unknown,
|
||||||
u64 application_id);
|
u64 application_id);
|
||||||
Result GetDataNewnessByApplicationId(Out<u8> out_newness, u64 application_id);
|
Result GetDataNewnessByApplicationId(Out<u8> out_newness, u64 application_id);
|
||||||
Result Unknown27(Out<std::array<u8, 0x38>> out_data, u64 application_id);
|
Result GetDataInfo(Out<std::array<u8, 0x38>> out_data, u64 application_id);
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace Service::OLSC
|
} // namespace Service::OLSC
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue