[Kernel/XAM] Added Support For: XamContentDeleteInternal

Now some EA games should have working savefiles
This commit is contained in:
Gliniak 2020-08-17 22:07:31 +02:00 committed by Triang3l
parent dffdf92e39
commit 4f5c313fe3
1 changed files with 8 additions and 0 deletions

View File

@ -489,6 +489,14 @@ dword_result_t XamContentDelete(dword_t user_index, lpvoid_t content_data_ptr,
}
DECLARE_XAM_EXPORT1(XamContentDelete, kContent, kImplemented);
dword_result_t XamContentDeleteInternal(lpvoid_t content_data_ptr,
lpunknown_t overlapped_ptr) {
// INFO: Analysis of xam.xex shows that "internal" functions are wrappers with
// 0xFE as user_index
return XamContentDelete(0xFE, content_data_ptr, overlapped_ptr);
}
DECLARE_XAM_EXPORT1(XamContentDeleteInternal, kContent, kImplemented);
void RegisterContentExports(xe::cpu::ExportResolver* export_resolver,
KernelState* kernel_state) {}