Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

- Fixed some lines of code messed up by search-and-replace tool, ever…

…ything should be working fine now.
  • Loading branch information...
commit 38ef238edb27bc2f9c4ae7f7a7c39faffa485446 1 parent eadd1d1
@CaptainCPS authored
View
BIN  msvc/gamePKG/gamePKG.suo
Binary file not shown
View
BIN  release/PS3_GAME/USRDIR/EBOOT.BIN
Binary file not shown
View
39 src/gamePKG.cpp
@@ -269,7 +269,7 @@ void c_gamePKG::InputFrame()
if ( !app.mIsCrossPressed && app.crossPressedNow )
{
- if(pkglst[nTotalPKG].bQueued)
+ if(pkglst[nSelectedPKG].bQueued)
{
// already queued...
::cellMsgDialogOpen2(
@@ -301,8 +301,9 @@ void c_gamePKG::DlgDisplayFrame()
sprintf(
szMsg,
"Processing \"%s\" [%.2f %s]...\n\nPlease wait, this could take a while depending on the size of the PKG. Do not turn off the system.",
- pkglst[nTotalPKG].path,
- GetByteUnit(pkglst[nTotalPKG].nSize), GetByteUnitStr(pkglst[nTotalPKG].nSize)
+ pkglst[nSelectedPKG].title,
+ GetByteUnit(pkglst[nSelectedPKG].nSize),
+ GetByteUnitStr(pkglst[nSelectedPKG].nSize)
);
::cellMsgDialogOpen2(
@@ -318,7 +319,13 @@ void c_gamePKG::DlgDisplayFrame()
cellMsgDialogAbort();
char szMsg[256] = "";
- sprintf(szMsg, "Successfully added \"%s\" to queue.", pkglst[nTotalPKG].path);
+ sprintf(
+ szMsg,
+ "Successfully added \"%s\" [%.2f %s] to queue.",
+ pkglst[nSelectedPKG].title,
+ GetByteUnit(pkglst[nSelectedPKG].nSize),
+ GetByteUnitStr(pkglst[nSelectedPKG].nSize)
+ );
::cellMsgDialogOpen2(
CELL_MSGDIALOG_DIALOG_TYPE_NORMAL | CELL_MSGDIALOG_TYPE_BUTTON_TYPE_OK | CELL_MSGDIALOG_TYPE_DISABLE_CANCEL_ON,
@@ -326,7 +333,7 @@ void c_gamePKG::DlgDisplayFrame()
DlgCallbackFunction, NULL, NULL
);
- pkglst[nTotalPKG].bQueued = true;
+ pkglst[nSelectedPKG].bQueued = true;
}
// COPY [ERROR]
@@ -335,7 +342,13 @@ void c_gamePKG::DlgDisplayFrame()
cellMsgDialogAbort();
char szMsg[256] = "";
- sprintf(szMsg, "Error while processing \"%s\".", pkglst[nTotalPKG].path);
+ sprintf(
+ szMsg,
+ "Error while processing \"%s\" [%.2f %s].",
+ pkglst[nSelectedPKG].title,
+ GetByteUnit(pkglst[nSelectedPKG].nSize),
+ GetByteUnitStr(pkglst[nSelectedPKG].nSize)
+ );
::cellMsgDialogOpen2(
CELL_MSGDIALOG_DIALOG_TYPE_NORMAL | CELL_MSGDIALOG_TYPE_BUTTON_TYPE_OK | CELL_MSGDIALOG_TYPE_DISABLE_CANCEL_OFF,
@@ -343,10 +356,10 @@ void c_gamePKG::DlgDisplayFrame()
DlgCallbackFunction, NULL, NULL
);
- pkglst[nTotalPKG].bQueued = false;
+ pkglst[nSelectedPKG].bQueued = false;
- DeletePDBFiles(pkglst[nTotalPKG].nPKGID);
- RemovePKGDir(pkglst[nTotalPKG].nPKGID);
+ DeletePDBFiles(pkglst[nSelectedPKG].nPKGID);
+ RemovePKGDir(pkglst[nSelectedPKG].nPKGID);
}
if(nStatus == STATUS_RM_QUEUE_START)
@@ -363,7 +376,13 @@ void c_gamePKG::DlgDisplayFrame()
cellMsgDialogAbort();
char szMsg[256] = "";
- sprintf(szMsg, "Successfully removed \"%s\" from queue.", pkglst[nTotalPKG].title);
+ sprintf(
+ szMsg,
+ "Successfully removed \"%s\" [%.2f %s] from queue.",
+ pkglst[nSelectedPKG].title,
+ GetByteUnit(pkglst[nSelectedPKG].nSize),
+ GetByteUnitStr(pkglst[nSelectedPKG].nSize)
+ );
::cellMsgDialogOpen2(
CELL_MSGDIALOG_DIALOG_TYPE_NORMAL | CELL_MSGDIALOG_TYPE_BUTTON_TYPE_OK | CELL_MSGDIALOG_TYPE_DISABLE_CANCEL_ON,

0 comments on commit 38ef238

Please sign in to comment.
Something went wrong with that request. Please try again.