mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-08-20 09:57:10 +00:00
make LoadSaveDataThumbnailReturned public again, fix bad DLCManager merge
This commit is contained in:
parent
2ab1f9fef0
commit
ad9a28bcb7
|
|
@ -372,16 +372,14 @@ unsigned int DLCManager::checkForCorruptDLCAndAlert(
|
||||||
swprintf(wchFormat, 132, L"%ls\n\n%%ls",
|
swprintf(wchFormat, 132, L"%ls\n\n%%ls",
|
||||||
firstCorruptPack->getName().c_str());
|
firstCorruptPack->getName().c_str());
|
||||||
|
|
||||||
C4JStorage::EMessageResult result = ui.RequestMessageBox(
|
C4JStorage::EMessageResult result = ui.RequestErrorMessage(
|
||||||
IDS_CORRUPT_DLC_TITLE, IDS_CORRUPT_DLC, uiIDA, 1,
|
IDS_CORRUPT_DLC_TITLE, IDS_CORRUPT_DLC, uiIDA, 1,
|
||||||
ProfileManager.GetPrimaryPad(), NULL, NULL,
|
ProfileManager.GetPrimaryPad(), NULL, NULL, wchFormat);
|
||||||
app.GetStringTable(), wchFormat);
|
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
C4JStorage::EMessageResult result = ui.RequestMessageBox(
|
C4JStorage::EMessageResult result = ui.RequestErrorMessage(
|
||||||
IDS_CORRUPT_DLC_TITLE, IDS_CORRUPT_DLC_MULTIPLE, uiIDA, 1,
|
IDS_CORRUPT_DLC_TITLE, IDS_CORRUPT_DLC_MULTIPLE, uiIDA, 1,
|
||||||
ProfileManager.GetPrimaryPad(), NULL, NULL,
|
ProfileManager.GetPrimaryPad());
|
||||||
app.GetStringTable());
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -118,9 +118,6 @@ private:
|
||||||
static int TrophyDialogReturned(void* pParam, int iPad,
|
static int TrophyDialogReturned(void* pParam, int iPad,
|
||||||
C4JStorage::EMessageResult result);
|
C4JStorage::EMessageResult result);
|
||||||
static int LoadDataComplete(void* pParam);
|
static int LoadDataComplete(void* pParam);
|
||||||
static int LoadSaveDataThumbnailReturned(void* lpParam,
|
|
||||||
std::uint8_t* pbThumbnail,
|
|
||||||
unsigned int thumbnailBytes);
|
|
||||||
static int CheckResetNetherReturned(void* pParam, int iPad,
|
static int CheckResetNetherReturned(void* pParam, int iPad,
|
||||||
C4JStorage::EMessageResult result);
|
C4JStorage::EMessageResult result);
|
||||||
static int DeleteSaveDialogReturned(void* pParam, int iPad,
|
static int DeleteSaveDialogReturned(void* pParam, int iPad,
|
||||||
|
|
@ -136,5 +133,10 @@ private:
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
// 4jcraft: made public for the thunk system we have for thumbnail loading, probably a FIXME for
|
||||||
|
// when this gets cleaned up
|
||||||
|
static int LoadSaveDataThumbnailReturned(void* lpParam,
|
||||||
|
std::uint8_t* pbThumbnail,
|
||||||
|
unsigned int thumbnailBytes);
|
||||||
static int StartGame_SignInReturned(void* pParam, bool, int);
|
static int StartGame_SignInReturned(void* pParam, bool, int);
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue