[XAM/Content] Implemeneted XamContentCreateInternal

I'm not exactly sure about amount of parameters,
so I used them from XamContentCreate and it matches quite nicely.

Now Fifa Street returns correct file creation (and it does the file),
but on next run it is corrupted :/
This commit is contained in:
Gliniak 2020-01-16 09:01:44 +01:00 committed by illusion98
parent 3369830c3e
commit 83cd4ac837
1 changed files with 12 additions and 0 deletions

View File

@ -401,6 +401,18 @@ dword_result_t XamContentCreate(dword_t user_index, lpstring_t root_name,
}
DECLARE_XAM_EXPORT1(XamContentCreate, kContent, kImplemented);
dword_result_t XamContentCreateInternal(lpstring_t root_name,
lpvoid_t content_data_ptr,
dword_t flags,
lpdword_t disposition_ptr,
lpdword_t license_mask_ptr,
lpvoid_t overlapped_ptr) {
return XamContentCreateEx(0xFF, root_name, content_data_ptr, flags,
disposition_ptr, license_mask_ptr, 0, 0,
overlapped_ptr);
}
DECLARE_XAM_EXPORT1(XamContentCreateInternal, kContent, kSketchy);
dword_result_t XamContentOpenFile(dword_t user_index, lpstring_t root_name,
lpstring_t path, dword_t flags,
lpdword_t disposition_ptr,