add ps4 support
This commit is contained in:
@@ -110,7 +110,7 @@ void UIScene_SaveMessage::handlePress(F64 controlId, F64 childId)
|
||||
|
||||
m_bIgnoreInput=true;
|
||||
|
||||
#if !defined(DISABLE_PSN) && defined(__PS3__) || defined(__ORBIS__) || defined(__PSVITA__)
|
||||
#if !defined(DISABLE_PSN) && (defined(__PS3__) || defined(__ORBIS__) || defined(__PSVITA__))
|
||||
// wait for the profile to be read - this has been kicked off earlier, so should be read by now
|
||||
addTimer(PROFILE_LOADED_TIMER_ID,PROFILE_LOADED_TIMER_TIME);
|
||||
#else
|
||||
@@ -126,7 +126,7 @@ void UIScene_SaveMessage::handleTimerComplete(int id)
|
||||
{
|
||||
case PROFILE_LOADED_TIMER_ID:
|
||||
{
|
||||
#if !defined(DISABLE_PSN) && defined(__PS3__) || defined(__ORBIS__) || defined(__PSVITA__)
|
||||
#if defined(__PS3__) || defined(__ORBIS__) || defined(__PSVITA__)
|
||||
C4JStorage::eOptionsCallback eStatus=app.GetOptionsCallbackStatus(0);
|
||||
|
||||
switch(eStatus)
|
||||
@@ -141,13 +141,17 @@ void UIScene_SaveMessage::handleTimerComplete(int id)
|
||||
// set defaults - which has already been done
|
||||
killTimer(PROFILE_LOADED_TIMER_ID);
|
||||
ui.NavigateToHomeMenu();
|
||||
#ifndef DISABLE_PSN
|
||||
SQRNetworkManager::SafeToRespondToGameBootInvite();
|
||||
#endif
|
||||
app.SetOptionsCallbackStatus(0,C4JStorage::eOptions_Callback_Idle);
|
||||
break;
|
||||
case C4JStorage::eOptions_Callback_Read_CorruptDeleted:
|
||||
killTimer(PROFILE_LOADED_TIMER_ID);
|
||||
ui.NavigateToHomeMenu();
|
||||
#ifndef DISABLE_PSN
|
||||
SQRNetworkManager::SafeToRespondToGameBootInvite();
|
||||
#endif
|
||||
app.SetOptionsCallbackStatus(0,C4JStorage::eOptions_Callback_Idle);
|
||||
break;
|
||||
case C4JStorage::eOptions_Callback_Read_Corrupt:
|
||||
|
||||
Reference in New Issue
Block a user