indentation changes only
This commit is contained in:
@@ -79,7 +79,6 @@ static CString ClearMemoryCardEdits()
|
|||||||
int iNumAttempted = 0;
|
int iNumAttempted = 0;
|
||||||
int iNumSuccessful = 0;
|
int iNumSuccessful = 0;
|
||||||
|
|
||||||
{
|
|
||||||
if( !MEMCARDMAN->IsMounted(pn) )
|
if( !MEMCARDMAN->IsMounted(pn) )
|
||||||
MEMCARDMAN->MountCard(pn);
|
MEMCARDMAN->MountCard(pn);
|
||||||
|
|
||||||
@@ -96,8 +95,6 @@ static CString ClearMemoryCardEdits()
|
|||||||
}
|
}
|
||||||
|
|
||||||
MEMCARDMAN->UnmountCard(pn);
|
MEMCARDMAN->UnmountCard(pn);
|
||||||
}
|
|
||||||
|
|
||||||
MEMCARDMAN->FlushAndReset();
|
MEMCARDMAN->FlushAndReset();
|
||||||
|
|
||||||
return ssprintf("%d edits cleared, %d errors.",iNumSuccessful,iNumAttempted-iNumSuccessful);
|
return ssprintf("%d edits cleared, %d errors.",iNumSuccessful,iNumAttempted-iNumSuccessful);
|
||||||
@@ -189,7 +186,6 @@ static CString TransferStatsMachineToMemoryCard()
|
|||||||
if( pn == PLAYER_INVALID )
|
if( pn == PLAYER_INVALID )
|
||||||
return "Stats not saved - No memory cards ready.";
|
return "Stats not saved - No memory cards ready.";
|
||||||
|
|
||||||
{
|
|
||||||
if( !MEMCARDMAN->IsMounted(pn) )
|
if( !MEMCARDMAN->IsMounted(pn) )
|
||||||
MEMCARDMAN->MountCard(pn);
|
MEMCARDMAN->MountCard(pn);
|
||||||
|
|
||||||
@@ -206,7 +202,6 @@ static CString TransferStatsMachineToMemoryCard()
|
|||||||
else
|
else
|
||||||
return ssprintf("Error saving machine stats to P%d card.",pn+1);
|
return ssprintf("Error saving machine stats to P%d card.",pn+1);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
static CString TransferStatsMemoryCardToMachine()
|
static CString TransferStatsMemoryCardToMachine()
|
||||||
{
|
{
|
||||||
@@ -214,7 +209,6 @@ static CString TransferStatsMemoryCardToMachine()
|
|||||||
if( pn == PLAYER_INVALID )
|
if( pn == PLAYER_INVALID )
|
||||||
return "Stats not loaded - No memory cards ready.";
|
return "Stats not loaded - No memory cards ready.";
|
||||||
|
|
||||||
{
|
|
||||||
if( !MEMCARDMAN->IsMounted(pn) )
|
if( !MEMCARDMAN->IsMounted(pn) )
|
||||||
MEMCARDMAN->MountCard(pn);
|
MEMCARDMAN->MountCard(pn);
|
||||||
|
|
||||||
@@ -242,8 +236,6 @@ static CString TransferStatsMemoryCardToMachine()
|
|||||||
}
|
}
|
||||||
|
|
||||||
MEMCARDMAN->UnmountCard(pn);
|
MEMCARDMAN->UnmountCard(pn);
|
||||||
}
|
|
||||||
|
|
||||||
MEMCARDMAN->FlushAndReset();
|
MEMCARDMAN->FlushAndReset();
|
||||||
|
|
||||||
return "Stats transferred to machine.";
|
return "Stats transferred to machine.";
|
||||||
@@ -255,7 +247,6 @@ static CString CopyEditsMachineToMemoryCard()
|
|||||||
if( pn == PLAYER_INVALID )
|
if( pn == PLAYER_INVALID )
|
||||||
return "Edits not copied - No memory cards ready.";
|
return "Edits not copied - No memory cards ready.";
|
||||||
|
|
||||||
{
|
|
||||||
if( !MEMCARDMAN->IsMounted(pn) )
|
if( !MEMCARDMAN->IsMounted(pn) )
|
||||||
MEMCARDMAN->MountCard(pn);
|
MEMCARDMAN->MountCard(pn);
|
||||||
|
|
||||||
@@ -303,7 +294,6 @@ static CString CopyEditsMachineToMemoryCard()
|
|||||||
// TODO: Make string themable
|
// TODO: Make string themable
|
||||||
return ssprintf("Copied to P%d card:\n%d/%d copies OK (%d overwritten).",pn+1,iNumSuccessful,iNumAttempted,iNumOverwritten);
|
return ssprintf("Copied to P%d card:\n%d/%d copies OK (%d overwritten).",pn+1,iNumSuccessful,iNumAttempted,iNumOverwritten);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
static CString CopyEditsMemoryCardToMachine()
|
static CString CopyEditsMemoryCardToMachine()
|
||||||
{
|
{
|
||||||
@@ -311,7 +301,6 @@ static CString CopyEditsMemoryCardToMachine()
|
|||||||
if( pn == PLAYER_INVALID )
|
if( pn == PLAYER_INVALID )
|
||||||
return "Edits not copied - No memory cards ready.";
|
return "Edits not copied - No memory cards ready.";
|
||||||
|
|
||||||
{
|
|
||||||
if( !MEMCARDMAN->IsMounted(pn) )
|
if( !MEMCARDMAN->IsMounted(pn) )
|
||||||
MEMCARDMAN->MountCard(pn);
|
MEMCARDMAN->MountCard(pn);
|
||||||
|
|
||||||
@@ -363,7 +352,6 @@ static CString CopyEditsMemoryCardToMachine()
|
|||||||
// TODO: Make themeable
|
// TODO: Make themeable
|
||||||
return ssprintf("Copied from P%d card:\n%d/%d copies OK (%d overwritten).",pn+1,iNumSuccessful,iNumAttempted,iNumOverwritten);
|
return ssprintf("Copied from P%d card:\n%d/%d copies OK (%d overwritten).",pn+1,iNumSuccessful,iNumAttempted,iNumOverwritten);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
static CString ResetPreferences()
|
static CString ResetPreferences()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user