mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-05-31 23:24:39 +00:00
TU24
This commit is contained in:
@@ -533,7 +533,7 @@ vector<FileEntry *> *FileHeader::getDatFilesWithOnlineID(const PlayerUID& pUID)
|
||||
// we're looking for the online name from the pUID in these types of filenames -
|
||||
// P_5e7ff8372ea9_00000004_Mark_4J
|
||||
wchar_t onlineIDW[64];
|
||||
mbstowcs_s(nullptr, onlineIDW, 64, pUID.getOnlineID(), _TRUNCATE);
|
||||
mbstowcs(onlineIDW, pUID.getOnlineID(), 64);
|
||||
|
||||
vector<FileEntry *> *files = nullptr;
|
||||
int onlineIDSize = wcslen(onlineIDW);
|
||||
@@ -659,6 +659,7 @@ vector<FileEntry *> *FileHeader::getDatFilesWithPrimaryUser()
|
||||
|
||||
ByteOrder FileHeader::getEndian( ESavePlatform plat )
|
||||
{
|
||||
ByteOrder platEndian;
|
||||
switch(plat)
|
||||
{
|
||||
case SAVE_FILE_PLATFORM_X360:
|
||||
|
||||
Reference in New Issue
Block a user